summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLouis Chang <louischang@google.com>2020-10-29 13:14:42 +0800
committerLouis Chang <louischang@google.com>2020-11-02 09:20:33 +0800
commita89729a27193a8d10dd15c3f498acd026837f2f7 (patch)
treec62106f95e850812c978390ae6d33fdd81be2008 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7af35b48a7572948234ad4bc069d86259d225291 (diff)
Examining if started activity violates lock task mode earlier
The lock task mode violation was used to check on a given task, so a new task must be created before knowing whether the activity can be started in lock task mode. If the activity shouldn't be started, the activity and the task will be removed then. Instead, this CL allows the lock task mode violation check to be perform on the activity which is going to be the root activity of the task which hasn't be created yet, in order to reduce unnecessary costs if the activity shouldn't be started. Bug: 171946327 Test: atest LockTaskControllerTest Change-Id: Ic79368e5197742c34fdde61781d4a0b048540736
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions