Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c7a3b46 authored by Isaac Katzenelson's avatar Isaac Katzenelson Committed by Android Git Automerger
Browse files

am 4ecef9ca: am a144d266: Disable GlowPad animation when alert activity is done

* commit '4ecef9ca':
  Disable GlowPad animation when alert activity is done
parents 6025d64a 4ecef9ca
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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) {
@@ -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();