コード例 #1
0
  @Override
  public void onThemeChanged() {
    /*mModel.resetLoadedState(false, true);
    //##date:2013/12/08 ##author:hongxing.whx ##bugid: 72248
    mModel.setThemeChanged(true);
    YUNOS END
    mModel.startLoaderFromBackground();*/

    /*YUNOS BEGIN*/
    // ##date:2014/8/1 ##author:zhangqiang.zq
    // favorite app
    GadgetCardHelper.onThemeChanged();
    LauncherGadgetHelper.cleanUp();
    mRecommendTask.refreshFavoriteAppIcons();
    /* YUNOS END */
    ThemeResources.reset();
    FolderIcon.onThemeChanged();
    mModel.onThemeChange();
    LauncherAnimUtils.onDestroyActivity();
  }
コード例 #2
0
 public void collectUsageData(long appId) {
   if (mIsCollectFavoriteData) {
     mRecommendTask.notifyAppClicked(appId);
   }
 }