* changes:
Ensure that we register the media session listener for the current user.
Fix issue with PiP callbacks not being handled for secondary users.
The events were ending up not important for a11y and
with invalid window ids, which prevented TalkBack from
seeing them properly.
Bug: 64428961
Test: Ran YouTube in PiP, now able to select it.
Change-Id: I38ccbf5f2f35ffda255b84f229e98ca23e6b11aa
The launch flags are interpreted incorrectly when minimized causing
Recents to start an entrance animation by moving off screen and being
invisible when Recents is destroyed and shown again by density or font
system changes. When recents is restarted, reset the flags to ignore the
entrance animation from moving them off screen.
Fixes: 62195106
Test: Open settings, go to page to change font size, dock by holding
recents button, with at least one task in Recents, change density. Also
can minimize and unminimize and changing density would also get fixed.
Change-Id: I519f59faf5e98c9d116bf66297f033c7f5fb7138
It may happen that a group entry could be leaked, if an
entry is inserted again after it was removed. We now added
logging to detect it better and worked around the issue.
Change-Id: Iaa6dfedddf5bafe0697bd0411b2e5f24982b1160
Fixes: 63717947
Test: add groups and remove / hun children
- Use the per-user calls when fetching/responding to media session events
otherwise it will fallback to using the process user.
Bug: 64315017
Test: Launch secondary user, enter PiP with media session and no custom
actions. Ensure the media session buttons show.
Change-Id: I52152223e91f0256ac4135616694e2a293947e3e
Fixes a stale content description after a configuration change.
Change-Id: Ie666d405417ce47cc0fc550b79a948425565162d
Fixes: 64234917
Test: Change language, verify content description of lock icon is updated.
Fixes an issue where after reinflating the brightness mirror,
the QSPanel was not notified.
Change-Id: I3974f31c2d3c67b5a283b10690cb103ca13fff6a
Fixes: 64460731
Test: Change to white / black wallpaper (opposite of current); verify brightness slider works.
Keyguard wouldn't be dismissed when launching the emergency dialer
from lock screen or locked camera.
Test: Tap on 'emergency' from lock screen and camera.
Test: Unlock from lock screen and camera.
Change-Id: I5d2f0f5c6a982cf633bca19cbeb5065a9f68e355
Fixes: 64470717
- 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
... if the active stream was the a11y stream
Test: turn talkback on, change volume, turn talkback off before
the volume panel goes away
Fixes: 63252708
Change-Id: I5e03b17fd7408d28471919c45c910e634b415bbc