The shell has COARSE and FINE permission, but it
needs background access to support CTS test cases
that must be run with elevated permissions from
the shell.
Bug: 159236070
Test: atest PhoneStateListenerTest#testBarringInfo
Change-Id: Iba3fcb3a43c5df3c30dadf6b7733eaee03d1d0e3
Fixes: 157926365
Fixes: 158691042
Test: atest MediaControlPanelTest
Test: atest MediaDataCombineLatestTest
Test: atest MediaDeviceManagerTest
Test: atest MediaTimeoutListenerTest
Test: with media playing:
- got from keyguard to QS
- got from keyguard to QQS
- got from QQS to QS
repeat after media timeout
Change-Id: I3f6ccd69b06c328ce528959b868eb194fbf4ca9e
This reverts commit d07c2deaf0.
Reason for revert: debug test failure in b/158986168
Bug: 158986168
Change-Id: I10cb613e4f160561c06944aebccaf16c090bcd9e
This will help with investigating issues where the output switcher chip
is showing the wrong device name.
Bug: 158813254
Test: manual - cast from Spotify and then take a bug report. Search in
the bug report for `MediaDeviceManager`.
Change-Id: Ia57498363bd0c2520696be90c094b77b91543824
Add documentation that indicates the requirement for location
permissions to more methods and constants in PhoneStateListener.
Bug: 158523376
Test: docs only
Change-Id: I9d785fd0fc9671652c4edb3bf7cc6184273120b8
Make sure IME animation aligns with overall timing of disappear
animation. Otherwise, there will be jank. For that, we just do
1/4 of the height and fade it out as well.
Bug: 156367695
Change-Id: I9b35cf493895b7206bf12208a531e35dbefff1fc
Check both Task and ActivityRecord windowing mode to make sure
PIP window can't become IME target.
Bug: 156915118
Test: Manually using steps mentioned in bug.
Change-Id: Ie6de7f31c36978fe8ec5aef2105b5e7edff5fa32
This CL updates the media resourceManagerService calling pid with the
real application pid when TunerResourceManager is able to get this
information from TvInputManager. Calling
IResourceManagerService.overridePid to update.
Test: dumpsys media.resource_manager on cuttlefish
Bug: 150989423
Change-Id: Ie811ae15bbcc326ed3a09f97b6b5a57f4b48b094
Provides a basic indication that an action is in progress. Also, do
no tint app icons.
Fixes: 158289112
Test: manual, mock app with TYPE_ROUTINE
Change-Id: I7f9db43dd895dd94ac1ec32d1f0339d84c414938
when using 3p launchers, recents is a separate stack. As
such we need to make sure that the recents root is provided
when asked for just like home is.
Bug: 158851728
Test: Using 3p launcher in split-secondary, open recents
Change-Id: I90dc6e75a718aa142c870b87bd93081e259acdea
In landscape, we need to fully hide the QQS when the user starts to do
an inline reply, otherwise nothing fits on the screen. This CL adds back
in some of the old Q behavior wherein we set the height of the header to
essentially zero when the QQS has been disabled (in this case, by the
inline reply logic).
Fixes: 157150870
Test: manual
Change-Id: Ib14603eb2e67bf4bf3b624b677a74754d4e54f41
Pre-emptively update PageIndicator's numPages before measuring in
QSPanel so that views will be appropriately measured. Previously, new
PageIndicator child views would be added in the middle of a QSPanel layout pass
after already being measured, so the new PageIndicator child wouldn't be
measured.
Test: manually add and remove new QS tiles. rotate between landscape +
portrait modes. observe the PageIndicator is correct.
Fixes: 157542221
Change-Id: Ic1bb29039dd12993a50758bf48a4ad792d8cdfc3