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

Commit 50016ca4 authored by eddy-sh.chen's avatar eddy-sh.chen Committed by Eddy-SH Chen
Browse files

Do not call finishKeyguardDrawn with PWM's mlock

Otherwise it may cause a deadlock between
PWM's mlock and WMS's mWindowMap.
Just post the work to the policy handler instead.

Bug: 80279029
Change-Id: Idae333687cf5c88e1893ee216c278b9e6c17dd98
parent 1fb2ed3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6819,7 +6819,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
            } else {
                if (DEBUG_WAKEUP) Slog.d(TAG,
                        "null mKeyguardDelegate: setting mKeyguardDrawComplete.");
                finishKeyguardDrawn();
                mHandler.sendEmptyMessage(MSG_KEYGUARD_DRAWN_COMPLETE);
            }
        }
    }