summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptCacheDir.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-04-19 10:40:42 -0700
committerBryce Lee <brycelee@google.com>2017-04-20 07:11:28 -0700
commit5daa3121a92f5e3124b8db469aeddea269a4c1df (patch)
treec8f83ce0b495fec500c58e7a2b095f36598619fe /rs/java/android/renderscript/RenderScriptCacheDir.java
parent8ffd8f78484410fbac45480c23e803bbb0a00ec7 (diff)
Do not pause resumed activity in resumeTopActivityUncheckedLocked.
A number of operations occur between setting the resumed activity and notifying the activity to resume. One of these steps is updating the configuration, which can cause the device to pause the resumed activity. Since the activity has not been told to resume, this leads to a pause before resume. This changelist addresses the issue by checking whether we are in the middle of resuming the top activity before attempting to stop the currently set resumed activity. Change-Id: I3b5b61de6b1b5a35b7773912b4e63d6c69096c04 Fixes: 35637717 Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackTests#testNoPauseDuringResumeTopActivity
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions