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

Commit f22fb2ca authored by Louis Chang's avatar Louis Chang
Browse files

Change start/stop lock-task-mode to two way binder

There could be a timing that the #finishActivity is done before
#stopLockTaskModeByToken, even the client requested the lock-task
to be stopped before finishing the activity, which prevents the
Activity to be finished.

Bug: 370362798
Test: wm presubmit
Flag: EXEMPT bugfix
Change-Id: Ic35cc4903f41b185a8bb9f6a0880fe4df933999b
parent 967f4c99
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -112,8 +112,8 @@ interface IActivityClientController {
    oneway void requestMultiwindowFullscreen(in IBinder token, in int request,
            in IRemoteCallback callback);

    oneway void startLockTaskModeByToken(in IBinder token);
    oneway void stopLockTaskModeByToken(in IBinder token);
    void startLockTaskModeByToken(in IBinder token);
    void stopLockTaskModeByToken(in IBinder token);
    oneway void showLockTaskEscapeMessage(in IBinder token);
    void setTaskDescription(in IBinder token, in ActivityManager.TaskDescription values);