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

Commit 53dc7f00 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "[Bugfix] Fix the problem that the home key can not work in some cases."...

Merge "[Bugfix] Fix the problem that the home key can not work in some cases." am: 1ee05622 am: 57cf8b77 am: 111eb468

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



Change-Id: If0b88bec571b9414f362f4456f97634800a117e1
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents dbac6528 111eb468
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -3589,7 +3589,12 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                    @Override
                    public void onKeyguardExitResult(boolean success) {
                        if (success) {
                            final long origId = Binder.clearCallingIdentity();
                            try {
                                startDockOrHome(displayId, true /*fromHomeKey*/, awakenFromDreams);
                            } finally {
                                Binder.restoreCallingIdentity(origId);
                            }
                        }
                    }
                });