Code example for Window

Methods: getDecorView

0
		public View getContentView() {
			if (mLocalActivityManager == null) {
				throw new IllegalStateException("Did you forget to call 'public void setup(LocalActivityManager activityGroup)'?");
			} 
			final Window w = mLocalActivityManager.startActivity(mTag, mIntent);
			final View wd = w != null ? w.getDecorView() : null;
			if (mLaunchedView != wd && mLaunchedView != null) {
				if (mLaunchedView.getParent() != null) {
					mTabContent.removeView(mLaunchedView);
				} 
			} 
			mLaunchedView = wd;
 
			// XXX Set FOCUS_AFTER_DESCENDANTS on embedded activities for now so 
			// they can get 
			// focus if none of their children have it. They need focus to be 
			// able to 
			// display menu items. 
			// 
			// Replace this with something better when Bug 628886 is fixed... 
			//