Skip to content
Commit 07af477d authored by Ben Lin's avatar Ben Lin
Browse files

When dismissing PiP, don't set bounds to null if setting to FREEFORM.

When exiting PIP via swipe away/X button, we set the bounds to null so it can
inherit from the parent bounds (Fullscreen, Split or Freeform). However
for freeform, we should restore to mLastNonfullScreenBounds, so don't
set it to null in this case.

Bug: None
Test: Dismiss PIP via X button or swipe away, and then restore it -
bounds are restored back to its original pre-PIP bounds

Change-Id: Ib280db01d3c252602d82eadad6bbf536a4200d96
parent 54ae0a7c
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