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

Commit 80b355a5 authored by Louis Chang's avatar Louis Chang
Browse files

Makes #setTurnScreenOn a blocking binder call

Applications could invoke KeyguardManager#requestDismissKeyguard
right after #setTurnScreenOn. Sometimes, the #setTurnScreenOn
could be transacted to server after #requestDismissKeyguard and
the device won't be woken up.

Bug: 320209711
Test: wm presubmit
Change-Id: I8a53d36574281205cbbaf26e22d181fc9b1d08ee
parent 1b8e703f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ interface IActivityClientController {

    oneway void setShowWhenLocked(in IBinder token, boolean showWhenLocked);
    oneway void setInheritShowWhenLocked(in IBinder token, boolean setInheritShownWhenLocked);
    oneway void setTurnScreenOn(in IBinder token, boolean turnScreenOn);
    void setTurnScreenOn(in IBinder token, boolean turnScreenOn);
    oneway void setAllowCrossUidActivitySwitchFromBelow(in IBinder token, boolean allowed);
    oneway void reportActivityFullyDrawn(in IBinder token, boolean restoredFromBundle);
    oneway void overrideActivityTransition(IBinder token, boolean open, int enterAnim, int exitAnim,