示例#1
0
 public void destroy() {
   try {
     unregisterReceiver(mScreenReceiver);
   } catch (Exception e) {
     Logger.w(TAG, "destroy(), e:" + e);
   }
   if (mTimer != null) {
     mTimer.cancel();
     mTimer = null;
   }
   onAppVisibilityChange = null;
 }
示例#2
0
 private static void onAppRestored() {
   Logger.w(TAG, "onAppRestored()");
 }