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

Commit 1ee05622 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents d0329c51 79470aea
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -3474,7 +3474,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);
                            }
                        }
                    }
                });