Commit Graph

1189 Commits

Author SHA1 Message Date
Flavio Fiszman
87eec50482 Show messages count in People Tile
Change-Id: I85b262dda92227cbea2672d9725bda163a5bb42a
Test: manual
Bug: 183382000
2021-03-23 11:25:29 +00:00
Sally Yuen
f463575980 Merge "Reduce Bright Colors feature name update" into sc-dev 2021-03-19 17:18:26 +00:00
jasonwshsu
f20f7a11d2 Add the string for the accessibility floating menu tooltip
Cherry picked from commit 232aa33473

Bug: 182532449
Bug: 175365399
Test: build pass
Change-Id: Ie352b1f9274b7f63133d53a1cfe27f6deb4cf00a
Merged-In: Ie352b1f9274b7f63133d53a1cfe27f6deb4cf00a
2021-03-19 13:40:58 +08:00
Silin Huang
9461c9eb2c Add quick access wallet tile.
This tile is gated by a feature flag and the QAW Client service availability.
Also add a new icon for the wallet tile as a fallback option - if it fails fetching the icon from QAW Client, the fallback icon will be used.

Bug: 180959290
Test: atest

Change-Id: I56bdbef5b4d5d41abacb598422d8a2a4716a79fd
2021-03-18 05:43:58 +00:00
sallyyuen
60857ff885 Reduce Bright Colors feature name update
Bug: 182922255
Test: Manual
Change-Id: I5caac2b40d20167abef94b7b7f454c28a16a86a3
2021-03-17 10:04:57 -07:00
Salud Lemus
11b7239609 Update QS dialog body text for a financed device
Bug: 182934324
Test: atest SystemUITests:com.android.systemui.qs.QSSecurityFooterTest

Change-Id: I374aeb72446d6c77444cf94999bd2eddfd2c0fca
2021-03-16 21:02:48 +00:00
Rajeev Kumar
8c3041d118 Merge "Update Quick Settings footer and dialog text for a financed device" into sc-dev 2021-03-16 15:50:58 +00:00
Peter Kalauskas
9e3dc546b2 Merge "New accessibility string for multi-user switch" into sc-dev 2021-03-15 22:34:03 +00:00
Peter Kalauskas
7a47ce974e New accessibility string for multi-user switch
Test: 1) Build with config_keyguard_user_switch_opens_qs_details=true,
      2) Turn on TalkBack, 3) Click multi-user icon on lockscreen,
      TalkBack should announce "Signed in as Owner, double-tap to choose
      user"
Bug: 169783558
Change-Id: I9d06972a12e71d56d6ece263a7e132170b925434
2021-03-15 12:24:26 -07:00
TreeHugger Robot
6e6666fff7 Merge "Remove the "airplane-safe" string from SysUI" into sc-dev 2021-03-15 17:54:35 +00:00
Salud Lemus
a9ad16f112 Update Quick Settings footer and dialog text for a financed device
Bug: 173826319
Bug: 158157476
Test: Used a test device that is registered via ZT
Test: atest SystemUITests:com.android.systemui.qs.QSSecurityFooterTest

Change-Id: Iff3630c3d4cb640115d04a6b8775a58db8d7ca6a
2021-03-15 16:13:57 +00:00
Minche Li
69b41140f3 Merge "Updates magnification prompt string" into sc-dev 2021-03-14 02:02:20 +00:00
Anna Zappone
7dfa3fcee8 Merge "Strings for Beta 1" into sc-dev 2021-03-11 10:31:42 +00:00
mincheli
020ca893dc Updates magnification prompt string
See Accessibility strings for S
b/182118401#comment1

Bug: 182118401
Test: manual test
Change-Id: Ic8a733a98a2dcaeccd8c05e2f60b9419435760f9
2021-03-11 13:18:03 +08:00
yinxu
cd738b376b Remove the "airplane-safe" string from SysUI
Bug: 182274608
Test: Manual Tests
Change-Id: Ibc6fbb6f4fbb852bad41a63c384e6275bf12e17d
2021-03-10 12:26:06 -08:00
Anna Zappone
b98280defc Strings for Beta 1
Test: none
Bug: 163617224
Change-Id: I8d75a4c2bb4645ea51814db46101bf228e380106
2021-03-10 17:34:37 +00:00
Fabian Kozynski
b938d78c8f Merge "Add new Next Alarm tile" into sc-dev 2021-03-10 15:28:46 +00:00
TreeHugger Robot
084e763a08 Merge "Implement new footer" into sc-dev 2021-03-10 15:27:56 +00:00
Fabian Kozynski
353f2a310a Implement new footer
The new footer is behind the same flag as the new tiles

Fixes: 181981409
Test: manual
Change-Id: I688c9c1fa83ad6ba931a661bd718fcc2e3c4fd43
2021-03-08 16:22:52 -05:00
Fabian Kozynski
e803146815 Add new Next Alarm tile
Test: atest AlarmTileTest
Test: manual
Fixes: 182171767
Change-Id: If9cf7d01e90027c8db32b414b9b911e21d409d1a
2021-03-08 14:21:55 -05:00
Peter Kalauskas
6134efab96 Restore guest item's original behavior in user switcher
Restore behavior of the guest item in the keyguard user switcher to it's
original behavior:

 - When signed in as guest, the guest item says "Remove guest"

 - When no guest account exists, the guest item says "Add guest"

 - When the guest exists but the current user is not guest, the guest
   item says "Guest"

Additionally:

 - Fix behavior of config_expandLockScreenUserSwitcher and
   lockscreenSimpleUserSwitcher

 - Remove "End guest session" button from keyguard user switcher

 - Remove "End guest session" string from SystemUI

Test: Open keyguard user switcher as guest user
Bug: 169783558
Bug: 181358587
Change-Id: Ibce9b3c7f28467e199db067b4bfb36b9fa35e4b4
2021-03-08 08:23:55 -08:00
Beth Thibodeau
926c5490cd Update notification title/content text
Fixes: 181688580
Test: manual
Change-Id: I09f98a0e1ba656c0d3af6de48a5447c32239232b
2021-03-05 14:58:07 -05:00
Salud Lemus
c8fa14edae Merge "Update keyguard screen text for a financed device" into sc-dev 2021-02-26 19:44:41 +00:00
Sally Yuen
c15977b765 Merge "Fix capitalization error for Reduce brightness" into sc-dev 2021-02-26 17:11:52 +00:00
Julia Reynolds
40321b70da Merge "Redesigns the volume panel, take 2!" into sc-dev 2021-02-26 15:16:25 +00:00
sallyyuen
a878735d00 Fix capitalization error for Reduce brightness
Test: n/a
Bug: b/181265718
Change-Id: I044af573447518a2a73b9bfc02c3add1245beae5
2021-02-25 15:10:04 -08:00
Salud Lemus
9e433aebe1 Update keyguard screen text for a financed device
Bug: 173826319
Bug: 158157476
Test: Used a test device that is registered via ZT
Test: atest SystemUITests:com.android.systemui.statusbar.KeyguardIndicationControllerTest

Change-Id: I116c2996ad2dc96cada445fecef336460527952e
2021-02-25 19:19:53 +00:00
Josh Tsuji
75cec37e4c Redesigns the volume panel, take 2!
Now that ag/13665338 is in, we shouldn't see crashes related to the AlphaTintDrawableWrapper anymore, so we can try this again.

This is nearly identical to ag/13535305, with two changes:
1) we pass the Theme to getDrawable() so we don't see warnings in logcat about undefined theme attributes
2) we use a placeholder drawable in the XML drawables instead of @android:color/transparent, which caused issues with the first tint not being applied

Bug: 171441100
Test: atest SystemUITests
Test: manual
Change-Id: I91c6e6430bb15e4f921aa0bd45f505c26db5aca4
2021-02-23 17:53:47 -05:00
Flavio Fiszman
592cb8d358 Add Missed call People Tile
Change-Id: I76904cff9f512525dbb2bf335409ff038287802f
Test: PeopleSpaceUtilsTest
Bug: 172576156
2021-02-23 12:54:15 +00:00
Fabian Kozynski
5d39ba6eb8 DeviceControlsTile deals with AVAILABLE_AFTER_UNLOCK
In this case, the tile shows INACTIVE with a message indicating that the
device is locked and doesn't open the dialog on click

Test: manual
Test: atest DeviceControlsTileTest
Fixes: 180923843
Change-Id: I95cc0d3b04b940b71c56752f3598598ce51170f9
2021-02-22 13:12:42 -05:00
Matt Casey
3001700366 Merge "Preliminary accessibility support for CropView" into sc-dev 2021-02-17 15:57:50 +00:00
Anna Zappone
e49eb5062c Merge "Add new templates & show Statuses in People Tiles" into sc-dev 2021-02-17 15:46:55 +00:00
Anna Zappone
469c69b53e Add new templates & show Statuses in People Tiles
Backup strings provided in the case of missing status text when icons
are provided. Implements three layouts to handle our different states.

Change-Id: I1cb81c42e4cdd75b000f52c402a7396897c0f027
Test: PeopleSpaceUtilsTest
Bug: 178792356
2021-02-17 14:15:14 +00:00
Alex Johnston
7de3040954 Merge "Update network logging message" into sc-dev 2021-02-17 09:59:30 +00:00
Matt Casey
fade30952a Preliminary accessibility support for CropView
Making accessibility nodes for the top and bottom boundaries. They don't
do anything yet, just informational labeling.

Bug: 180062481
Test: Explore UI with switch access and talkback
Change-Id: Icc05fd865c70d32239e955745f1496bbd117529c
2021-02-16 21:19:11 -05:00
Josh Tsuji
2532b9d169 Merge "Revert "Redesigns the volume panel!"" into sc-dev 2021-02-16 20:03:30 +00:00
Josh Tsuji
5321f3ea41 Revert "Redesigns the volume panel!"
This reverts commit e32c9ac7a5.

Reason for revert: b/180420011

Change-Id: I576515a415bb6f3cdf4619a542dcca385e16d93f
2021-02-16 20:01:51 +00:00
Alex Johnston
c1671be864 Update network logging message
* Update QS menu network logging message if the
  device is a organization owned device with a
  managed profile or a BYOD device with a
  managed profile.

Bug: 170460270
Test: atest com.android.systemui.qs.QSSecurityFooterTest
Change-Id: Ieda889d33d20858d90ae40b24fb78ef3e698677e
2021-02-16 18:37:17 +00:00
TreeHugger Robot
f5646294b1 Merge "Redesigns the volume panel!" into sc-dev 2021-02-16 17:09:31 +00:00
Josh Tsuji
e32c9ac7a5 Redesigns the volume panel!
Demo video, since building is hard: https://drive.google.com/file/d/17lKjpHW0UGfHx7O9SPGb4VKxhRw1Vm87/view?usp=sharing

This is mostly cosmetic changes, other than the addition of the ringer drawer functionality.

TV uses the same controller but different layout files, which is why we do some null-checks to see whether the old ringer/icons are present.

Bug: 171441100
Test: atest SystemUITests
Test: manual
Change-Id: Id561cff010483b69d71ea9b48e7d17b500272073
2021-02-12 15:40:09 -05:00
Peter Kalauskas
b981e89e87 Revert "Update icons and text for guest user"
Revert "Update icons and text for guest user"

Revert submission 13278947-new-guest-user-strings

Reason for revert: Use same strings and text as Android R
Reverted Changes:
I8e9b7992d:Update icons and text for guest user
I42c0b46fd:Update icons and text for guest user

Bug: 169783558
Change-Id: I69d8e45c14d6e3f6c78de1be4e5212b226553b0f
2021-02-11 14:37:43 -08:00
Peter Kalauskas
1970915c2c New keyguard user switcher
- Use ViewController for KeyguardUserSwitcher, name this
   KeyguardUserSwitcherController

 - Create KeyguardUserSwitcherListView. Separate view container and
   controller code.

 - Daggerize KeyguardUserSwitcherController

 - Move KeyguardUserSwitcher from NotificationsQuickSettingsContainer to
   NotificationPanelView

 - Hide clock and notification when keyguard user switcher is open

 - Show "End guest session" button when switcher is open and user is
   guest

 - Introduce listener for user switcher state

 - Change icon of guest when current so that it does not show exit icon

 - Disallow guest exit via user switcher list item

 - Propagate dark amount to keyguard user switcher

 - Updated styles

Known issues:

 - If repeatedly pressing KEYCODE_POWER while switching between users,
   the clock will sometimes get stuck in INVISIBLE state: b/179930842

 - Multiple StrictMode violations are still present: b/179913579

Test: atest com.android.keyguard
Test: Build with config_keyguardUserSwitcher=false, enable multi-user,
      check that user icon is in the status bar but not on the keyguard
      above the clock
Test: Build with config_keyguardUserSwitcher=true, check that user icon
      is visible on keyguard above the clock
Test: When config_keyguardUserSwitcher=true, tap user icon to open
      keyguard user switcher, then open and close QS to verify that
      the keyguard user switcher closes
Test: Check that user switcher is always open and visible on the lock
      screen when simple user switcher is enabled:
        adb shell settings put global lockscreenSimpleUserSwitcher 1 &&
          adb shell stop &&
          adb shell start

Bug: 169783558
Change-Id: Iaea4eae358873ae80748ca3eb9329f22bb2bb2ef
2021-02-10 15:37:05 -08:00
Fabian Kozynski
02151de444 Merge "Add tile added/removed announcements" into sc-dev 2021-02-09 14:12:39 +00:00
sallyyuen
adc88de07a Update Reduce Bright Colors strings
Final name is Reduce Brightness. QS label removed per final strings.

Test: Manual, atest ReduceBrightColorsTileTest
Bug: b/170970602
Change-Id: I3f436c2ee14d9cf479e6806f2f1d9391568426f2
2021-02-08 11:29:05 -08:00
Fabian Kozynski
bd6c445db0 Add tile added/removed announcements
Test: manual
Fixes: 179228936
Change-Id: I264167674c07cd4de102fd2b71b5a8be2859cb5a
2021-02-04 10:36:18 -05:00
Fabian Kozynski
208f3822db Make side labels layout for QS default
Side labels default only depends on the overlay flag.
Slightly improve animations

Test: manual
Bug: 171319433
Change-Id: Id109c536aed49c1de432de335752e5f7631a0990
2021-02-04 09:43:37 -05:00
Chris Li
5c3ad3a5a1 Merge "Allow non-resizable apps in split-screen (8/n)" into sc-dev 2021-02-03 00:38:22 +00:00
Chloris Kuo
f953deb8bc Merge "NAS Feedback UI" into sc-dev 2021-02-02 21:25:33 +00:00
Chris Li
27d983a098 Allow non-resizable apps in split-screen (8/n)
Refactor SizeCompatModeActivityController to WM Shell. The old one will
be removed in separate cl as there are some dependencies in other
packages.

This cl is mainly for refactor. Major change will come after.
Besides refactor, also changed the mActiveButtons key to TaskId, because
launcher Task will also trigger onTaskInfoChanged, but should not remove
the restart button on the same display.

Bug: 176061101
Bug: 178327644
Test: manually verify that the size compat restart button works as usual
Test: atest WMShellUnitTests:SizeCompatUIControllerTest
Test: atest WmTests:SizeCompatTests
Change-Id: I9143e079a1a945b76c3c56596976dd6ad2802897
2021-02-02 12:54:40 -08:00
Ilya Matyukhin
89f69796ac Merge "Remove HBM path and commands strings" into sc-dev 2021-02-02 20:06:18 +00:00