OSDN Git Service

Fix issue with PiP callbacks not being handled for secondary users.
authorWinson Chung <winsonc@google.com>
Mon, 7 Aug 2017 22:28:44 +0000 (15:28 -0700)
committerWinson Chung <winsonc@google.com>
Tue, 8 Aug 2017 21:41:07 +0000 (14:41 -0700)
commit8a4f26cc56a584dc9951afdce912d8851c0607e6
treee7eeb9a3a87e1abf960446cc758c8bb31c902f70
parent425784eef25316c5a43ba93ef22e78aa8bc3d8c1
Fix issue with PiP callbacks not being handled for secondary users.

- With ag/1767862, we do not persist PiP across users, so there is no
  need for additional logic in SystemUI to dedupe these calls. Since
  PiP is managed in the primary user's SystemUI process, this logic
  was prevening the relaunching of the activity.

Bug: 64316002
Test: Launch PiP from a secondary user, restart the activity and
      ensure that it is brought to fullscreen.

Change-Id: I49db5cab9f0be7366390d1e36edcaf4d6b05717a
packages/SystemUI/src/com/android/systemui/pip/phone/PipManager.java