public void onCreate() {
   activity.setRequestedOrientation(
       orientationStrategyProvider.getOrientationStrategy().getAppropriateOrientation());
   if (androidDevice.isDebuggable()) {
     ViewServer.get(activity).addWindow(activity);
   }
   wasInAccessibilityMode = accessibilityUtil.isAccessibilityEnabled();
   getTalkDelegate();
   speechDelegate = new SpeechDelegate(activity);
   talkDelegate.ignoreAnnounceTitleOnce();
 }
 public void onSpeechSwipe(Class class1) {
   talkDelegate.stopSpeaking();
   speechDelegate.getSpeechInput(class1);
 }
 public void onResume() {
   if (androidDevice.isDebuggable()) {
     ViewServer.get(activity).setFocusedWindow(activity);
   }
   talkDelegate.announceTitle();
 }
 public void onDestroy() {
   if (androidDevice.isDebuggable()) {
     ViewServer.get(activity).removeWindow(activity);
   }
   talkDelegate.onDestroy();
 }