-
Kazuki Takise authored
Android tells Chrome to activate windows through onTaskMovedToFront, which is called by ActivityStack#moveTaskToFront. For PIP tasks, we reparent them with reparent() and the function inserts them on top without using moveTaskToFront, so we seem to activate them explicitly. confirmed the browser was properly activated. Bug: b/123259430 Test: Exited PIP, pressed the shelf icon of the browser, and Test: atest android.server.am.ActivityManagerPinnedStackTests Change-Id: I7532e4b2c66a28b83168abcf3207266961c9a3a6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1485625 Commit-Queue: Kazuki Takise <takise@chromium.org> Reviewed-by:
Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#638501}
5ae4f55f