diff options
author | Andrii Kulian <akulian@google.com> | 2019-08-23 15:04:17 -0700 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2019-08-27 03:20:26 +0000 |
commit | 149d9ad3fe1842e56d97a1f5050450b04a6ee3f5 (patch) | |
tree | efb3bfc73f7f53ee37a72f21468146ec0f592e27 /rs/java/android/renderscript/ProgramStore.java | |
parent | c8aec6423d160439a97f4cce17a035e3dfb2f815 (diff) |
Update visibility of finishing activities
A visibility of a trampoline activity may not be updated when the
activity it launches becomes visible in some cases. This CL makes
sure that the visibility of a finishing activity is updated to
'false'.
In a normal flow when a trampoline activity launches the next one,
ActivityStack#resumeTopActivityInnerLocked() sets the visibility to
'false' when the next one is being resumed. However, if the
RootActivityContainer#ensureVisibilityAndConfig() is called before
that, it can update the visibility of the top activity without
updating the visibility of the trampoline (visibility updates were
skipped for finishing activities).
Bug: 139808754
Test: Unit tests for ActivityRecord and CTS lifecycle tests
Change-Id: Idc89743fb708487594e5b56f2e860e4ffc78fd14
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions