Merge "Remove lock of getLockTaskModeState"

This commit is contained in:
Riddle Hsu
2020-12-14 16:59:15 +00:00
committed by Android (Google) Code Review

View File

@@ -2538,9 +2538,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
@Override
public int getLockTaskModeState() {
synchronized (mGlobalLock) {
return getLockTaskController().getLockTaskModeState();
}
return getLockTaskController().getLockTaskModeState();
}
@Override