commit | 4288311d5381c87c3e85f6f9cbe087f162cc84a9 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Mon Apr 24 15:14:11 2017 -0700 |
committer | Winson Chung <winsonc@google.com> | Mon Apr 24 17:35:05 2017 -0700 |
tree | 6a337f9825f4aca340522f4d63fab6eb7f7cbded | |
parent | 094996a2b38a47c3e4d768cc77f8c28fd4b81967 [diff] |
Ensuring that isPictureInPictureMode() mirrors dispatched mode. - When transitioning out of picture-in-picture, we schedule onPictureInPictureModeChanged() when the animation starts, so the check in isInPictureInPicture() should match this as well. Bug: 36845078 Test: Updated android.server.cts.ActivityManagerPinnedStackTests to also whenever PipActivity PiP mode changes, that it matches the activity state as well. Change-Id: I31d7a3307b01b818e867f86a4553a363c7f11307