Commit Graph

881 Commits

Author SHA1 Message Date
Jay Aliomer
730fc5b2c9 Battery Saver capitilized in tile
When the phone is in battery saver mode, the "Battery Saver" secondary
label should be capitalized

Test: manual

Fixes: 145694753
Change-Id: Ia88547aa05ad441b07da3044e7148e1a918c28b5
2019-12-18 02:07:12 +00:00
Jay Aliomer
f19ce4af1d Dark theme battery saver tile secondary text
Dark theme tile on battery saver should show
"Dark theme" and "Battery saver" on two lines

Test: manual. turn battery saver on while dark theme on auto

Fixes: 146439388
Change-Id: I460b582ca7fcf244b406d6eaf70c10e4edc52d85
2019-12-17 20:57:08 +00:00
Wilson Wu
fc3f1408da Merge "Support showing alignment hint based on aligniment state of dock" into qt-qpr1-dev 2019-11-26 10:29:40 +00:00
Jerry Chang
4bbf1596b9 Support showing alignment hint based on aligniment state of dock
Bug: 141984730
Test: atest SystemUITests:KeyguardIndicationControllerTest
Change-Id: Ic0911683725a0e54406df06b948169c4dde94764
Merged-In: Ic0911683725a0e54406df06b948169c4dde94764
2019-11-26 11:03:10 +08:00
Jay Aliomer
381e3300e8 Dark theme twilight mode backend and tile
When the user has Dark theme scheduling turned on (b/141567787), the quick settings tile subtext should reflect the following:
If Dark theme is on: "Until sunrise"
If Dark theme is off: "On at sunset"
If the user does not have Dark theme scheduled, the text should not appear.
This matches the appearance of the Night Light QS tile.
All starting windows snapshots will be deleted and splash screens
will be used instead.

Test: atest UiModeManagerServiceTest
Fix: 143874807
Merged-In: Ie2ce64b5c5544fffe76be7ec3f971eb7461f8c4d

Change-Id: Ie2ce64b5c5544fffe76be7ec3f971eb7461f8c4d
(cherry picked from commit 8b2671b029)
2019-11-21 18:05:22 +00:00
Evan Laird
83c87e50b1 DO NOT MERGE Allow for HTML styling in mobile data type content descriptions
This CL implements a (somewhat hacky) way to enable HTML attributes in
the mobile data type content description strings. This way we can use
some basic styling in the Quick Settings cellular data tile which uses
it in a TextView.

We do this by assuming that the content description is valid, escaped
HTML, and send two separate CharSequences to all of the listeners, all
of which can then decide if they need the regular content description or
the prettified version.

Test: atest SystemUITests; system ui demo mode
Bug: 141177147
Change-Id: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
2019-09-25 11:12:37 +00:00
Hongwei Wang
98d0858138 Update the string on how to exit pinning mode in gesture navigation
Bug: 139438042
Test: Back gesture in screen pinning mode
Change-Id: Ia21e0324cb9a78c6664f4ba787189c6a2423a03d
Merged-In: Ia21e0324cb9a78c6664f4ba787189c6a2423a03d
2019-08-15 18:16:59 +00:00
Lucas Dupin
adce35309b Clearer message when face auth fails
Before we were saying "Swipe to open" on bouncer and some users though
it was a bug, not we're being more explicit and saying "Swipe up to try
again"

Test: manual
Fixes: 134042651
Change-Id: I1a057819253252cc3912ff6b66505a8d55dc93ae
2019-08-02 11:17:39 -07:00
Zhen Zhang
788232785d Merge "Change quick setting min_num_tiles number and text to resources value." into qt-dev
am: bc058faaa3

Change-Id: I329be5dee77d6f45b4bd5314971655df52525294
2019-07-02 11:21:48 -07:00
TreeHugger Robot
bc058faaa3 Merge "Change quick setting min_num_tiles number and text to resources value." into qt-dev 2019-07-02 17:56:59 +00:00
Fabian Kozynski
6288f173ed Merge "Fix case of Dark theme" into qt-dev
am: 093af798e4

Change-Id: I8abccc7a1eae8a25bf23a058d98b812ea8ce40bd
2019-06-24 13:03:31 -07:00
Fabian Kozynski
42c30aec01 Fix case of Dark theme
Test: manual
Fixes: 135711083
Change-Id: Ie97422e25e0dffd500d31496a4114b81d1f7218a
2019-06-24 09:52:41 -04:00
Kevin Chyn
d4e0b3b0d2 Don't show hint while authenticating, show hint while pending confirmation
Also, restore "enabled" state of confirm button, otherwise it becomes
available when changing configurations.

Also, "confirm" button should become visible+disabled when tapping try again

Fixes: 135618797

Test: E2E fingerprint and face, with various tests such as rotation during
      various states

Change-Id: I1073a4479077355f1c275faed933ac8510927251
2019-06-19 13:39:23 -07:00
Zhen Zhang
ea2d2267be Change quick setting min_num_tiles number and text to resources value.
Bug: 130030850
Test: manually test by removing quick setting tile until we have 6. The
system will stop them at 6 and showing message "You need at least 6
tiles".

Change-Id: If2a4a42a4d3859908a2b529e2faae214fe6cebb6
(cherry picked from commit ad0a6fdbb1)
2019-06-12 16:09:45 +00:00
Lucas Dupin
877adf1dfd Lock screen string change
Test: manual
Fixes: 133876098
Change-Id: Ie45c68098b7e4cf4605c33ea4767444ddc85537e
2019-06-04 18:56:49 -07:00
Amin Shaikh
44386742fd Update battery content description.
Ensure "battery" and "percent" are included.

Bug: 134035327
Test: make; enable talkback
Change-Id: I4c8a0a2c53333bc24b7075f19ca9ec4f9203167e
2019-05-31 09:25:38 -04:00
Mehdi Alizadeh
4a0c923c96 Adds strings for notifications when default launcher changes
Bug: 129532605
Test: None
Change-Id: Ie85dfc704939db217c9b59724e0a586020aaa797
2019-05-30 12:00:39 -07:00
Ned Burns
369f147e8f Update guts to match latest specs
- Updates dimens and margins to match specs
- Adds selection color for border, icon, and text
- Adjusts fonts to be theme-aware

Test: manual
Bug: 132689331
Change-Id: Ibd2ca853c9a571f25d82151bdd736edb4d5c5d5e
2019-05-28 11:27:05 -04:00
Badhri Jagan Sridharan
775f334fad Merge "Add support for LearnMore option" into qt-dev 2019-05-21 00:31:45 +00:00
Ned Burns
25443162c3 Merge "Hide silent notifications section header on lockscreen" into qt-dev 2019-05-20 21:27:53 +00:00
Salvador Martinez
f4d733405e Merge "Update battery saver suggestion to go to right page" into qt-dev 2019-05-20 21:22:57 +00:00
Ned Burns
4a58ec22e1 Merge "Revert to basic icons in notification info." into qt-dev 2019-05-20 20:16:44 +00:00
Ned Burns
7eeccdd8eb Hide silent notifications section header on lockscreen
Change things so we remove the gentle header when we're on the lock
screen. We still want to show the break between sections, so we
also modify beginsSection() to count either the header or the first
gentle child if there is no header.

Test: manual
Bug: 132689331
Change-Id: I02708a3a532cc2b9df2d1cec8192387dff132152
2019-05-20 13:36:55 -04:00
Salvador Martinez
84b5bff352 Update battery saver suggestion to go to right page
Now that there are several different versions of automatic
battery saver, this notification should just take you to the
battery saver schedule page rather than setting it to 15%
automatic triggering.

Test: adb shell am broadcast -a PNW.autoSaverSuggestion
      --ez extra_confirm_only false
Bug: 122599859

Change-Id: I3f8cd73b146d7528bf4125e40efa564a96b0ee6c
2019-05-17 13:09:55 -07:00
Narayan Kamath
9f72a1e3e8 Changes to MediaProjection UX.
Description strings are changed for privileged apps that hold the
REMOTE_DISPLAY_PROVIDER permission.

Test: Visual
Bug: 132924545
Bug: 132924713
Change-Id: Ib9a3be6dc096124d5cec4769ed1f7e8e3eec63f5
2019-05-17 16:37:55 +01:00
Badhri Jagan Sridharan
f603a2c62d Add support for LearnMore option
UsbContaminant dialog no longer uses AlertActivity/AlertController
as UI design has been updated to a custom design to support
the Learn more option.

The CL also incorporates string updates.

Bug: 132737150
Test: dumpsys usb add-port "matrix" ufp;
dumpsys usb set-contaminant-status "matrix" true
Change-Id: I2b27e60e48986e669ef9bfe0239a56430d14a5a2
2019-05-16 18:01:55 -07:00
Dan Sandler
0ed02298e7 Revert to basic icons in notification info.
Also:
 - hide subtext---just show icon + label.
 - Revert to "Alerting" / "Silent" language for labels.

Bug: 132689331
Test: manual
Change-Id: I3f672d9197663b56cc7f6bd489e3363c1895b7fe
2019-05-14 20:10:44 -04:00
Kevin Chyn
bb79c0026b Update content descriptions when text/icons are updated
Fixes: 132300444

Test: manual

Change-Id: Ic43f516ac0b26db6104e4cfaeda53795931170e9
2019-05-14 14:05:47 -07:00
Kevin Chyn
8ab1de6804 Fix several accessibility issues with BiometricPrompt
1) Ensure spaces can be tapped/double-tapped with talkback enabled
2) Do not explicitly set focus
3) Give empty spaces content description for talkback

Fixes: 132376836
Fixes: 132378618

Test: Enabled talkback, the above are fixed
Change-Id: Ic923ba8aed4922e852a8b82b6120644ca627d651
2019-05-14 12:19:50 -07:00
TreeHugger Robot
46c92d3f27 Merge "Disable dark mode tile when in battery saver" into qt-dev 2019-05-10 23:19:38 +00:00
Lucas Dupin
e7acd0ff79 Disable dark mode tile when in battery saver
Test: toggle battery saver, try to toggle dark mode
Test: toggle battery saver, look at dark mode tile
Fixes: 132348329
Change-Id: I265309fb554637ac342c4cb360b03897d0b47b8f
2019-05-10 14:48:16 -07:00
TreeHugger Robot
d8f241214d Merge "Create notification channel interstitial shelf" into qt-dev 2019-05-09 19:52:41 +00:00
Evan Laird
47dc4546ec Create notification channel interstitial shelf
From NotificationGuts, tapping "Turn off notifications" will now present
a half-shelf allowing the user to directly block up to 4 channels (the
one given from the notification guts + up to 3 other channels from
that app) or the app itself.

Test: visual (for now)
Bug: 130307442
Fixes: 131432719
Change-Id: I7e82928dfd56b9e25e5bef02607eede55b11d9e3
2019-05-09 11:13:19 -04:00
Joshua Tsuji
4accf598a9 Adds the new dismiss target, with fling/magnet to dismiss.
Test: atest SystemUITests
Bug: 123541855
Change-Id: Id2a149f8551eb58b240ece35569ca394c06e811d
2019-05-08 18:37:32 -04:00
Ned Burns
9eb06333c4 Add "Gentle Notifications" header to gentle section
Missing "clear all" support, will add in later CL.

Test: manual

Bug: 131358199
Change-Id: I18aaacb1bf3f173b151bcac8df9dd953d0a7f513
2019-05-06 14:52:07 -04:00
TreeHugger Robot
37503a0637 Merge "Replace bubble settings icon with "manage" text" into qt-dev 2019-05-01 23:36:21 +00:00
Lyn Han
754e77b726 Replace bubble settings icon with "manage" text
Bug: 130346513
Test: manual
Change-Id: I01e5dbd79976bf58a037258952bbdd3550e2251f
2019-05-01 12:24:04 -07:00
Julia Reynolds
4d1dd798bc Another guts redesign
Test: atest
Bug: 131290247
Fixes: 131441935
Fixes: 131621405

Change-Id: I5a6840f3f2a5a241facaeab8cf9b19f41606d8ed
2019-04-30 12:09:29 -04:00
Winson Chung
4d30e9ede9 Update sysui for screen pinning with gestural nav
- Add call to stop screen pinning
- Modify layout/description to reflect new gesture

Bug: 130828539
Test: Manual
Change-Id: I970a2dc7273170a735cf019f5c5ff6c1c3c269c0
2019-04-25 23:18:40 -07:00
Julia Reynolds
25b27f521e Update appearance of proxied notifications in guts
Test: manual
Fixes: 131174114
Change-Id: I8725d34e7f2e43c17a1d16fba8ecbe20a0a3d3c9
2019-04-24 14:33:44 -04:00
Julia Reynolds
8728d00ead Notification guts redesign
Test: atest
Fixes: 130766408
Fixes: 129453207
Bug: 127992400
Fixes: 129507783
Fixes: 130342795
Fixes: 130805969

Change-Id: I93984698c5380badb162774c818a1d040ccf9c1c
2019-04-23 14:29:41 -04:00
TreeHugger Robot
fa7a24ef8e Merge "Add content description to sensors off icon in status bar" into qt-dev 2019-04-23 17:56:46 +00:00
Michael Groover
1ddabcc157 Add content description to sensors off icon in status bar
Bug: 130209047
Test: Enable Talkback and sensors off, verify sensors off icon
      in status bar is focusable.

Change-Id: I50332596890564be4b1948069fd83e20ba2969f6
2019-04-19 18:41:43 -07:00
TreeHugger Robot
b99646c3a3 Merge "Update wirelessly charging text on lockscreen" into qt-dev 2019-04-19 05:03:53 +00:00
Lucas Dupin
733379cc3a Merge "Move padlock to the top of the lock screen" into qt-dev 2019-04-19 03:16:00 +00:00
Lucas Dupin
2e838ac083 Move padlock to the top of the lock screen
Test: tap on notification on lock screen
Test: tap on notification on shade locked
Test: swipe down from the top expanding QS
Test: swipe up from LS
Test: switch between pin, pattern and password
Test: add and remove locked sim card
Test: atest KeyguardBottomAreaTest
Test: atest KeyguardClockPositionAlgorithmTest
Test: atest KeyguardMessageAreaTest
Test: atest KeyguardIndicationControllerTest
Test: atest StatusBarKeyguardViewManagerTest
Test: atest KeyguardBouncerTest
Test: atest KeyguardPatternViewTest
Fixes: 130398499
Fixes: 130298363
Fixes: 129784068
Fixes: 130223966
Change-Id: Ib1706de259fa4b1f4ef13f654cbd931457733d82
2019-04-18 16:53:35 -07:00
Beverly
fcc982ef4b Update wirelessly charging text on lockscreen
Test: manual
Bug: 130762799
Bug: 130762485
Change-Id: I87fc87fafd968cdb4987b1c55e79dbccf70ae137
2019-04-18 16:20:39 -04:00
Lucas Dupin
f1abb75702 Merge "Indicate that a TrustAgent kept the phone unlocked" into qt-dev 2019-04-18 17:28:38 +00:00
Lucas Dupin
859f2c84af Indicate that a TrustAgent kept the phone unlocked
Fixes: 130326679
Test: manual with SmartLock
Change-Id: Ic5bb8608313498f2608890eac5c226db06c20ac7
2019-04-17 18:30:00 -07:00
Anthony Tripaldi
d7962fb077 Updating accessibility content for buttons in SysUI for captions
Bug:129923766
Test: manual
Change-Id: Icf78a20d8b2b967082e815de95c3421ed865be22
2019-04-16 23:41:26 +00:00