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