commit | c4723dc2d6234ee4d20c6cac935c62b902e96cbb | [log] [tgz] |
---|---|---|
author | Ikram Gabiyev <gabiyev@google.com> | Fri Jun 07 11:13:25 2024 -0700 |
committer | Ikram Gabiyev <gabiyev@google.com> | Fri Jun 07 11:13:25 2024 -0700 |
tree | 585ba24c2c9ca659ff7a084535ebae8ebb8cef86 | |
parent | 48459cba1be0ec3266346a26d030ecae8cf7fb6b [diff] |
Force set to entered state to avoid overflow Force set the PiP transition state to ENTERED_PIP before recursively calling exitPip() while ENTERING_PIP in an attempt to start exiting PiP (e.g. due to onActivityRestartAttempt). This should help avoid potential stack overflow errors. Bug: 345686267 Test: direct enter PiP and tap to expand quickly Change-Id: Ie0ad45f2ff1892257e4c95e211e5dd5b4826d5f6