ACTION_BATTERY_CHANGED can pass a boolean EXTRA_PRESENT which would
alert listeners that a battery may or may not be present. SystemUI now
wants to show an error battery state instead of a potentially misleading
status in this situation.
Bug: 169935148
Test: adb shell cmd battery set present 1
Change-Id: I7d576248bb9931059100facb67ca6b46e81e554e
Merged-In: I7d576248bb9931059100facb67ca6b46e81e554e
* changes:
Apply animation for Media Ouput Switcher dialog
Add dynamic item in output switcher if it is available
Fix NPE when notification icon is empty
Fix output switcher didn't show album art
Add dynamic group operation in output switcher
Enhancement for group operation in output switcher
Add dismiss timing for Media Output Dialog
Update OutputSwitcher from SettingsPanel to MediaOutputDialog in SystemUI
Add constant for dismiss Settings panel
Add animation when switching output device
Add dismiss intent and method for MediaOutputDialog
Add "Stop" button for remote device
Add constant for dialog dismiss
Rename MediaOutDialogReceiver to MediaOutputDialogReceiver
Add getFeatures() for get device supporting features
Add a receiver to launch Output Switcher dialog
Add MediaOutputDialogFactory to create MediaOutputDialog
Add Media Output Dialog for Output Switcher
Add controller for Media operation
Add MediaOutputAdapter for Media device list
Define strings for output switcher dialog in SystemUI
Add image utility methods
-Add new group components in xml layout and assets
-Adjust view objects in adapter for new layout
-Add aboveStatusbar in MediaOutputControllter to keep the dialog style
when switching
-Add getGroupMediaDevices() in MediaOutputController to provide available
device list for group operation
-Update test cases
Bug: 155822415
Test: atest MediaOutputAdapterTest MediaOutputControllerTest MediaOutputBaseDialogTest MediaOutputDialogTest
Merged-In: If74bf2efb89a8ece61f4e0cf13e4dcfa30cb0a8a
Change-Id: If74bf2efb89a8ece61f4e0cf13e4dcfa30cb0a8a
-Add "Stop" to stop remote media session
-Refine UI layout
1. Adjust size of head icon and apply defined dimen value
2. Move list padding inside the list to prevent truncating the list
3. Remove group-related view(I will add it in recycle view when the group feature is ready.)
-Add MediaOutputDialogTest
-Rename PAIR_NEW to CUSTOMIZED_ITEM_PAIR_NEW
-Integrate more UI view in setTwoLineLayout()
Bug: 155822415
Test: atest MediaOutputAdapterTest MediaOutputBaseDialogTest MediaOutputControllerTest MediaOutputDialogTest
Merged-In: Ie6a917c56a0ef97f772a8f43742afd2ee61e407f
Change-Id: Ie6a917c56a0ef97f772a8f43742afd2ee61e407f
-Add MediaOutputBaseDialog to provide common method for different media operations UI
-Add MediaOutputDialog for showing Bluetooth device
-Add resources for background image, style and layout
-Add MediaOutputBaseDialogTest for unit test
Bug: 155822415
Test: atest MediaOutputBaseDialogTest
Merged-In: I3086a4049f240870ca1ad870946d6848e500b561
Change-Id: I3086a4049f240870ca1ad870946d6848e500b561