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

Commit be543e9a authored by Beverly Tai's avatar Beverly Tai Committed by Automerger Merge Worker
Browse files

Merge "Use/update cached battery manager" into tm-dev am: 76473a4e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17185983

Change-Id: Ifcac9f2e2ad210c59e9e1e8d73d123295b12960c
parents 81c831df 76473a4e
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,