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

Commit 76473a4e authored by Beverly Tai's avatar Beverly Tai Committed by Android (Google) Code Review
Browse files

Merge "Use/update cached battery manager" into tm-dev

parents 4631f1ad 0872bcc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -792,7 +792,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        public void onWakeUp() {
            synchronized (mLock) {
                if (shouldEnableWakeGestureLp()
                        && mBatteryManagerInternal.getPlugType() != BATTERY_PLUGGED_WIRELESS) {
                        && getBatteryManagerInternal().getPlugType() != BATTERY_PLUGGED_WIRELESS) {
                    performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY, false,
                            "Wake Up");
                    wakeUp(SystemClock.uptimeMillis(), mAllowTheaterModeWakeFromWakeGesture,