Skip to content
Commit 4288311d authored by Winson Chung's avatar Winson Chung
Browse files

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
parent 094996a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment