A bunch of redline fixes in management screens. Some of them hacks.
Also, make sure that visibility update is posted in correct thread.
Test: manual
Fixes: 155302803
Change-Id: I5c31904e2a70c2be224acf5d5aeb76f876cef695
Also use it for AuthCredentialPasswordView
Bug: 154161590
Test: BiometricPromptDemo, authenticate with password
Change-Id: I17601848dd9be3d0580988e3ff613c3793dfed51
Since we currently don't have access to the name of a remote device,
show a default string "Device" for the device name. In addition,
disable tap on the output switcher.
Fixes: 151486245
Test: manual - cast GPM to home mini and check output switcher in player
for correct icon and string. Additionally, check that tap is disabled.
Change-Id: I31d81f00f0b506b1e2ddc3158043e93cc6db35a8
Test: Manual -- power menu overflow button reads 'menu' with talkback on instead of 'unlabeled'.
Fixes: 154537338
Change-Id: I6badcaa1f93d3aeef38d46fcf56e4683863e1b42
The subtitle aligns on top to an invisible checkbox, so it's position
remains the same between different screens.
Test: visual
Fixes: 154759251
Change-Id: I75c28dd02e099680555acdab200a0de909b57c51
Launch on all long press by default. Support single tap -> detail
panel for limited device types.
Bug: 154698537
Test: manual
Change-Id: I5656c11ce732cd43a6fb9145541e29bbbeb6e2b3
Makes the actions container expand out horizontally, rather than
coming up from the bottom.
Test: manual
Fixes: 153725541
Change-Id: I9485ed1ca23fb18b12e3994fa61a9e07a55d2ce1
Some minor fixes:
* Remove icon next to structure name in Add controls
* Remove "other apps" when there's no other app to switch.
* Change footer buttons in apps screen.
Test: manual
Fixes: 154672630
Fixes: 154673161
Fixes: 154631120
Change-Id: I45be5c78b97a0301b77fa11125a294c66903dbef
Updates the colors used when the dark theme is on. When a
screenshot is taken, checks for the current dark theme status and
updates the assets if necessary.
Test: manual
Bug: 146560663
Change-Id: Iccc727924e04febc5be25e2205775b52ef082f6a
1. Remove scrollbars from controls
2. Remove top padding and just use insets
Bug: 154696337
Bug: 154673173
Test: visual
Change-Id: Ie188ebabd53cf734396d829b1469735d13377532
Now you can dismiss, un-bubble :(, or manage the settings of your bubbles.
Test: manual
Bug: 143173197
Change-Id: I4c90bdab3f3f61646153ce615fa257bc64ed8a17
Transition between control activities with animations. Transition between
GlobalActionsDialog and controls activities with the same
animations. Load async data into RecyclerViews in a separate animation
but controlling alpha values on the view
Bug: 154158092
Test: visual
Change-Id: I77c192d5b23a844900f4f2be128687d6314a1baf
Test: Manual -- extra margin not present when overflow button is shown, but returns if the button is not. Turning bug report shortcut on and off is an easy way to go above/below the overflow threshold.
Bug: 152624388
Change-Id: I5c3464c74599524ec322052bb98fb468f6e67db7
Test: atest GlobalActionsDialogTest
Test: Power menu items beyond the 3rd will appear in a dropdown menu instead of being truncated when controls are available. If controls are disabled (ex. 'adb shell settings put secure systemui.controls_available 0'), all items should still display in older versions of GlobalActions. Items in power overflow menu are both short- and long-pressable.
Fixes: 152625023
Change-Id: Icdbf8eb7e79a61d490d484f207eeedc47c4882c5
- Set minimum height and width on the snooze "undo" button
- Update logic in performAccessibilityActionInternal in
ExpandableNotificationRow so that snoozing a notification from
Talkback/switch access/voice access actually performs the snooze action
- After a user selects a new snooze time option for a notification, the
snooze options close. Focus should remain on the snooze time, since that
element was just changed.
- Once a user snoozes a notification, it should focus on the child
SnoozeView instead of the greater NotificationSnooze view because only
the SnoozeView is actionable. So if focus is requested on the
NotificationSnooze view and the options aren't expanded, then focus just
on the SnoozeView.
Test: manual, use a11y scanner
Fixes: 152730944
Fixes: 152820361
Fixes: 152720315
Fixes: 152718852
Change-Id: I7e43bddfdaa3b5a1741645f7bb54af42bc953fc3
Change-Id: I4672654d4ca2eb2cf68539efb7cfb0c8f5dfb00b
Set proper activity titles and do not use the default application
label. Do not allow the status text to be focusable.
Bug: 152924457
Bug: 152932546
Bug: 152927300
Test: talkback
Change-Id: Ieed21596c8160aaf945d71e274706c771f7e4693
Allow apps to specify whether to show full screen or within detail
panels. Default camers and thermostats to use the panel by default
when the following flag is enabled.
Enable by:
adb shell settings put secure systemui.controls_use_panel 1
Change offset from the top in Px:
adb shell settings put secure systemui.controls_panel_top_offset XXX
Bug: 152528130
Test: manual, use camera, thermostat devices
Change-Id: Ia1b12afcf4de2a0bcf7957e6425b282b1e220f46
This activity is accesses from the overflow menu in the Controls UI. It
does the following:
* Shows all favorites for current structure
* Allows for rearranging current favorites in that structure
* Allows for removing current favorites in that structure
* Links to ControlsFavoritingActivity with just that structure
Test: manual
Test: atest ControlsControllerImplTest
Test: atest FavoritesModelTest
Test: atest AllModelTest
Fixes: 149138395
Change-Id: I8a57d4f835467247b7cc360fee4e382cd5553481