summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2018-01-16 11:13:30 -0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-01-16 21:49:43 +0000
commit779f150bba2cc59205df9802c568fb228c4a8d4a (patch)
tree6dc0eb5af2af6a4d0e72f1b8fd511009225dfb9c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8d1f3cf3e0c511262fea1a406e36d02f90a876b0 (diff)
Do not pause initializing activities when becoming visible.
makeVisibleIfNeeded was recently modified to ensure activities becoming visible were not left in the stopped state. However, the condition was based on simply not being in the paused state, rather than requiring it be in the stopped/stopping state. This can lead to lifecycle issues for moving an initializing activity into the paused state. This changelist ensures that only stopped/stopping activities are considered. Change-Id: I17fc6310db6ee111d1db8f69599090becd1e1760 Fixes: 72028454 Test: atest FrameworksServicesTests:com.android.server.am.ActivityRecordTests (cherry picked from commit 052957b6c0f50d0201f842f9f9291f789814aca2)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions