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
-Access LocalMediaManger to display avilable output devices information
-Access LocalMediaManger to do media operation, such as volume adjustment,
switching output device, grouping
-Access MediaController to show media content information
-Add MediaOutputControllerTest for unit test
Bug: 155822415
Test: atest MediaOutputControllerTest
Merged-In: I9eb6e3b0a6e584637aecb4132dbc2b138c6d1530
Change-Id: I9eb6e3b0a6e584637aecb4132dbc2b138c6d1530
Use an AccessibilityDelegate for the actions in QSCustomizer. Adding or
removing a tile can now be done with the click action, whereas moving or
adding to a particular position require a context action.
This removes the old custom dialog and improves the overall
accessibility.
Test: manual
Test: atest TileAdapterDelegate
Bug: 168039987
Bug: 140366995
Change-Id: Ib5b19aeebb54c46573555563c3f39bd922b68896
Merged-In: Ib5b19aeebb54c46573555563c3f39bd922b68896
(cherry picked from commit ac22e5bf36)
Adds the following:
* Button for accessing settings
* Button for dismissing player (similar path to when a package is
uninstalled)
Guts will close automatically if:
* QS is collapsed
* Media carousel changes pages
Also, flattened the view hierarchy to support animations between states.
Test: manual
Test: atest com.android.systemui.media
Bug: 156036025
Change-Id: I340e0b37393573f81a3bf12d5e453eccf5982473
Merged-In: I340e0b37393573f81a3bf12d5e453eccf5982473
(cherry picked from commit 429360fb39)
This adds back the privacy chip classes (Controller and view).
Change to using Executors and DeviceConfigProxy, also fix tests that
were flaky before.
Test: SystemUITests
Bug: 160966908
Change-Id: Id3e5981a87c33a8cabe7ce348f9512d81ad2b1d8
Merged-In: Id3e5981a87c33a8cabe7ce348f9512d81ad2b1d8
Moved setting so we can use Tunable:
adb shell settings put secure qs_media_resumption 1
If setting is changed, removes all existing resume players
Bug: 154039093
Test: manual
Test: atest SettingsProviderTest
Test: atest com.android.systemui.media
Change-Id: Iad056fbad4520cfe762d9e9f5ed62d38ea1117b1
When loading controls returns an error or no controls, show an
informative message.
Test: manual
Fixes: 156923066
Change-Id: Iae3bdb5707d5cda5d970b8a9fc439420eb4f6f8d
Behind a flag for now, while we work on animation issues and settings
Enable with: adb shell settings put system qs_media_resumption 1
Bug: 156104922
Fixes: 154823185
Fixes: 156256312
Test: manual; atest com.android.systemui.media
Change-Id: I77e3706031da820ea0d49c5dfd17f89ae7fb7db4
Show a more informative error to the user on touch/long press about
how to handle this situation. Properly animate status changes.
Fixes: 154737944
Test: TYPE_DISPLAY in mock app simulates not found error
Change-Id: I15ce2d2621ea29c97936f9d9022d917637693288
And fix a bug with toggling priority I noticed while testing
Test: atest
Fixes: 157988478
Bug: 155490513
Change-Id: I8f5a6076ed2aa6c862a187bac15f3ad9af3cd141
When POWER_MENU_LOCKED_SHOW_CONTENT is false and either the Quick Access
Wallet or Home Controls are available, show a lock message in Global
Actions until the phone is unlocked.
Fixes: 155906825
Fixes: 156923009
Test: manual
Test: atest GlobalActionsDialogTest
Change-Id: Iee664702df17629a5f3213c5580530440167e21e
This CL adds local context actions for rearranging controls. The actions
allow to move each current favorites one position at a time.
Test: manual
Fixes: 155997794
Change-Id: I3dbace5c11bb93830315ca57513744464595cc16
Use state description to indicate if a control is a Favorite and its
position for when it can be rearranged.
Also, remove a hardcoded string.
Test: manual
Fixes: 155995940
Change-Id: Ia908558a9108e895457e9847f52744f27fe177c3
Fixes: 149232987
Test: manual - TalkBack on for overflow button, overflow bubbles;
prompts "double tap to add back to stack"
Change-Id: I20f2a3731dca014cf7555d49d676192636bb8d61
This fixes all the back flows (finishing activities when they are not
needed). Also fix some transition animations.
Add a toast when "See other apps" is selected with changes done. This
will appear even if something is changed and reverted, as that kind of
thing is not tracked.
Test: manual, go over flows
Fixes: 154741024
Change-Id: I24611f4f32e41c7dd3774620518f2945db081727
- Up the CHAR_LIMIT to 75 for priority onboarding strings
- set maxlines to 2
- Update some paddings to make things look good when the text does wrap
Test: manual
Fixes: 154614037
Change-Id: I84a84077d1efe69de0611c3a970c45aca38d7c59