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 onResume() {
   if (androidDevice.isDebuggable()) {
     ViewServer.get(activity).setFocusedWindow(activity);
   }
   talkDelegate.announceTitle();
 }
 public void onDestroy() {
   if (androidDevice.isDebuggable()) {
     ViewServer.get(activity).removeWindow(activity);
   }
   talkDelegate.onDestroy();
 }
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   attachListFragment();
   ViewServer.get(this).addWindow(this);
 }