@Override
	protected void onDestroy()
	{
		ActivityManager.popupActivity( this );
		unregisterReceiver( previewReceiver );
		downModule.dispose();
		super.onDestroy();
	}
Пример #2
0
	@Override
	protected void onDestroy() {
		ActivityManager.popupActivity(this);
		// teapotXu_20130304: add start
		// set a flag that indicates whether the ThemeSelectIcon launched the
		// ThemeBox or Launcher app.
		if (b_theme_icon_start_launcher == false) {
			if (tabLock != null)
				tabLock.onDestroy();
			tabTheme.onDestroy();
			downModule.dispose();
			themedownModule.dispose();
		}
		// teapotXu_20130304: add end
		super.onDestroy();
	}