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

Commit cdf40883 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Send user-activity to power manager on lock icon long press" into udc-dev

parents 9097728b c9350f83
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -283,11 +283,15 @@ public class NotificationShadeWindowViewController {
                }
                mLockIconViewController.onTouchEvent(
                        ev,
                        () -> mService.wakeUpIfDozing(
                        /* onGestureDetectedRunnable */
                        () -> {
                            mService.userActivity();
                            mService.wakeUpIfDozing(
                                    mClock.uptimeMillis(),
                                    mView,
                                    "LOCK_ICON_TOUCH",
                                PowerManager.WAKE_REASON_GESTURE)
                                    PowerManager.WAKE_REASON_GESTURE);
                        }
                );

                // In case we start outside of the view bounds (below the status bar), we need to