Loading src/com/android/deskclock/AlarmAlertFullScreen.java +7 −0 Original line number Diff line number Diff line Loading @@ -310,6 +310,7 @@ public class AlarmAlertFullScreen extends Activity implements GlowPadView.OnTrig mGlowPadView.setTargetDescriptionsResourceId(R.array.dismiss_descriptions); mGlowPadView.setDirectionDescriptionsResourceId(R.array.dismiss_direction_descriptions); } mPingEnabled = true; // The activity is locked to the default orientation as a default set in the manifest // Override this settings if the device is docked or config set it differently if (getResources().getBoolean(R.bool.config_rotateAlarmAlert) || mIsDocked) { Loading @@ -317,6 +318,12 @@ public class AlarmAlertFullScreen extends Activity implements GlowPadView.OnTrig } } @Override protected void onPause() { super.onPause(); mPingEnabled = false; } @Override public void onDestroy() { super.onDestroy(); Loading Loading
src/com/android/deskclock/AlarmAlertFullScreen.java +7 −0 Original line number Diff line number Diff line Loading @@ -310,6 +310,7 @@ public class AlarmAlertFullScreen extends Activity implements GlowPadView.OnTrig mGlowPadView.setTargetDescriptionsResourceId(R.array.dismiss_descriptions); mGlowPadView.setDirectionDescriptionsResourceId(R.array.dismiss_direction_descriptions); } mPingEnabled = true; // The activity is locked to the default orientation as a default set in the manifest // Override this settings if the device is docked or config set it differently if (getResources().getBoolean(R.bool.config_rotateAlarmAlert) || mIsDocked) { Loading @@ -317,6 +318,12 @@ public class AlarmAlertFullScreen extends Activity implements GlowPadView.OnTrig } } @Override protected void onPause() { super.onPause(); mPingEnabled = false; } @Override public void onDestroy() { super.onDestroy(); Loading