public void onActivityResume() { checkSceneRotation(getCurrentThemeInfo()); clearStartActivityIntent(); for (TimeChangeCallBack callBack : mTimeCallBacks) { if (callBack != null) { callBack.onTimeChanged(); } } }
public void changeTheme(ThemeInfo themeInfo) { if (mCurrentThemeInfo != null && mModelObjectsManager != null) { mCurrentThemeInfo = themeInfo; mCurrentThemeInfo.initFromXML(getContext()); HomeUtils.staticUsingTheme(getContext(), themeInfo.mThemeName); SESceneManager.getInstance().removeMessage(HomeScene.MSG_TYPE_UPDATE_SCENE); SESceneManager.getInstance().handleMessage(HomeScene.MSG_TYPE_UPDATE_SCENE, themeInfo); checkSceneRotation(themeInfo); } }