diff options
author | Wale Ogunwale <ogunwale@google.com> | 2017-04-10 09:50:21 -0700 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2017-04-11 11:13:04 -0700 |
commit | 7004a8801d0a60013681a86043bab74b4d42d680 (patch) | |
tree | 5009e5e8c1087df12357cd3a3eafa144157e8143 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2d008a5fc11f607943235cacfaf523eb403b52f2 (diff) |
Ensure visible activities when device is unlocked.
When the device is locked we transition all activities to the stopped
state. However, we were only resuming the activity in the focused stack
when the device is unlocked. We now:
- Ensure all visible acitvities when the device is unlocked regardless
of stack.
- If the activity is marked as visible, but in the STOPPED state, we go
ahead and restart it.
- Correctly set ActivityRecord.stopped to false when we restart an
activity into the PAUSED state.
Fixes: 37119770
Bug: 37244415
Test: Make sure docked activity state isn't STOPPED when device is
unlocked.
Change-Id: I1498eeddaa3c1f5dd5135dca56271ffc22b704f2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions