summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2015-05-20 14:59:57 -0700
committerCraig Mautner <cmautner@google.com>2015-05-20 15:36:34 -0700
commit432f64ee969271dc236b63431e5f6e306993dfce (patch)
treefa2fab5c9b14f630613513dd4911617e8d634895 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentaa1cd25db72297f13539928e8aa45ba992f2f230 (diff)
Avoid resuming activity before launch.
The locktask logic would always bring a locked task to the front and then resume it when locking. When a task is to be locked at launch that would cause it to resume immediately before onLaunch was called. Which would cause havoc because the token was not yet in ActivityThread.mActivities. This lead to premature finish() calls and looping restarts. This change causes the resume to only be called when an app calls startLockTask. Otherwise the resume call is skipped. Plus additional locktask debug logging. Fixes bug 21031298. Change-Id: I756b0d607827d0ec7a123377db04d9377c41776d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions