diff options
author | Wale Ogunwale <ogunwale@google.com> | 2017-04-18 07:25:20 -0700 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2017-04-18 17:42:11 +0000 |
commit | b9a0c991af1aa4812d62daec43305ca224d8d84e (patch) | |
tree | 4cbf66915ddb62b39dc7724711f358dd2ede67b1 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 6d149bc953edb28abe3f67f221a33f5ebd2f3d06 (diff) |
Fixed some pip state acitvity accounting.
- Corrected ActivityRecord.checkEnterPictureInPictureState() to return
false if the activity doesn't support Pip.
- Wait for previous activity that supports pip to pause before resuming
the next activity with FLAG_RESUME_WHILE_PAUSING so that the activity
has a chance to enter Pip before we resume the next activity. Currently
disabled until we figure-out if callers are passing in the right value
for prev.
- Changed stopActivityLocked() to call setVisible() instead of
setVisibility()...yeah this isn't confusing...
Change-Id: If2336ece4fe5b7104c9b301a4ded5cadc2c2f7cb
Bug: 37370508
Test: manual
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions