Commit Graph

706 Commits

Author SHA1 Message Date
Salvador Martinez
2cdc5281e1 Update title for SysUI battery warning
We're changing the text from "battery is low" to talk about the
battery running out soon instead so users are not confused if the
time based trigger occurs at higher battery percentages.

Test: robotests pass
Bug: 77587724
Change-Id: Ib7b2c507e150e06e307f810f89c6da407c77990a
2018-04-23 16:13:19 -07:00
TreeHugger Robot
df173b59f6 Merge "Rely on tile state for on/off a11y announcement." into pi-dev 2018-04-18 23:53:11 +00:00
Amin Shaikh
3468e5a016 Rely on tile state for on/off a11y announcement.
Do not include on/off in QS tile content descriptions.

Change-Id: I10ddeb6c56f99fe4dad3eaaa98a56cafba68be9f
Fixes: 78171152
Test: manual
2018-04-18 12:58:01 -04:00
Julia Reynolds
6013e5cc96 Color and text changes
Change-Id: I2b1837ffd16911be20b5d5f9a7007ff3071265ab
Fixes: 78191129
Fixes: 77810424
Fixes: 78196346
Test: manual inspection
2018-04-18 08:45:12 -04:00
Milo Sredkov
66da07bf81 Set accessibility action label for smart replies.
Currently the TalkBack reads something like "I am here, button,
double-tap to activate". Set an accessiblity delegate that changes
the click action label to "send", so the TalkBack message becomes
"I am here, button, double-tap to send".

Bug: 72216277
Test: In Notify post a notification with choices. Read it via TalkBack.
Change-Id: Ib50f6ff6f698196d905aea2e303b6bd2e5531587
2018-04-17 16:16:15 +01:00
Tracy Zhou
0ad27632ca Move QuickStep onboarding strings from Launcher to SysUI
Test: N/A
Bug: 70180942
Change-Id: Ic3bd63899017f23c011a41a7a5a9e73a87b9eec1
2018-04-12 11:23:17 -07:00
TreeHugger Robot
497bc2cbe9 Merge "[QS] Update mobile tile secondary text" into pi-dev 2018-04-11 21:29:20 +00:00
Rohan Shah
7bc3744ccd [QS] Update mobile tile secondary text
Since the mobile data string is required for the content description,
adding a new string for the short version and updating the footer impl
and icon setup logic to reference the content description instead.

Test: Manually, via string check in QS
Bug: 77693344
Change-Id: I794500bcd445f98d69c096f6bf2f3b7d147c2780
2018-04-11 12:41:23 -04:00
Amin Shaikh
e97cb81c91 Update mobile data QS tile subtext.
Display 1X, H, and H+ as mobile data subtext when their respective
mobile signal icons are displayed in the status bar.

Change-Id: I6b34700f6935d0f676d251459e405b629f68213f
Fixes: 77597792
Test: visual
2018-04-10 11:44:36 -04:00
Amin Shaikh
e4d25a955f Fix strings for QS header status.
Rearrange alarm/mute text to maintain the same ordering as the status
bar. Update mute/vibrate strings to make it clear that the status
corresponds to the phone volume.

Change-Id: I66f35f681e15a91e6238aeaaa086856872d3876a
Fixes: 76208830
Test: visual
2018-03-30 15:56:50 -04:00
Rohan Shah
2d2f598d69 Merge "[QS] Override/add long click accessibility action" into pi-dev 2018-03-30 15:45:53 +00:00
Rohan Shah
185f661663 [QS] Override/add long click accessibility action
Overrides the long click action for QS tiles. Tiles are always
long-clickable so this can always be present as an action for that node.

Test: Via talkback selection + node printing/debug
Bug: 72408442
Change-Id: Idacf79cd4a91e6091c6f9f0a8fa24a286cd3a262
2018-03-29 17:54:01 -07:00
Julia Reynolds
ac55e01e1c Volume UI updates
- Reorder streams
- constrain ripples
- Show an introductory ripple on the ringer toggle
- Add sound/vibration feedback for the ringer toggle
- resize some elements

Test: manual
Bug: 76438403
Fixes: 73892482
Change-Id: I92dd6f5681f1822ae493a5a2b218b15970293e80
2018-03-29 16:42:28 -04:00
Julia Reynolds
d9c571c6f7 Fix capitalization
Test: make
Change-Id: I173355801e3e46044029ac5f5779c3ebd34d7f09
Fixes: 76143429
2018-03-28 13:44:27 -04:00
Makoto Onuki
452ae34af5 Merge "Add auto battery saver suggestion notification/dialog" into pi-dev 2018-03-27 21:20:13 +00:00
Makoto Onuki
52c6295e22 Add auto battery saver suggestion notification/dialog
Spec: go/ebs-low-battery-mode-flow

- Basically when the user manually enables battery saver 4 times,
we show this notification to suggest turning on "scheduled"
(i.e. auto) battery saver.

- We show it through 8th time. If the user hits "no thanks",
or if auto-saver is enabled already, we will not show it.

- Introduced a new notification channel "HINTS" with
IMPORTANCE_DEFAULT.

Bug: 74120126
Test: Manual test with ll development/scripts/battery_simulator.py

Change-Id: I713abc59dc7caee6882ba848c3e3aabaf778c2bd
2018-03-27 10:42:05 -07:00
TreeHugger Robot
b429012907 Merge "Add link to notification app listing in shade" into pi-dev 2018-03-27 14:09:18 +00:00
TreeHugger Robot
644ded01dd Merge "Update screenshot saving strings." into pi-dev 2018-03-27 13:03:33 +00:00
Alison Cichowlas
2b840257be Update screenshot saving strings.
Bug: 76418893
Test: String changes; manually verified.
Change-Id: Ic28b9d637918abe7b21206966c4a36016b87b253
2018-03-26 18:53:29 -04:00
TreeHugger Robot
2ed9bf437e Merge "Fix string description" into pi-dev 2018-03-26 22:24:26 +00:00
Julia Reynolds
ed1c9af653 Add link to notification app listing in shade
Test: atest SystemUITests
Bug: 74318867
Change-Id: Ic309dfb08be0d41b7d524adc1b5910ab61b2d9fb
2018-03-26 17:14:48 -04:00
TreeHugger Robot
a5a9827328 Merge "[QS] Update string name in prep for freeze" into pi-dev 2018-03-24 02:01:17 +00:00
Mady Mellor
1cea5f7de8 Fix string description
Test: make
Bug: 34840333
Change-Id: Iea11f92e143f5fe84444d86c865eec54518ccc00
2018-03-23 16:19:02 -07:00
TreeHugger Robot
3aa86b427f Merge "Add string for 'snooze' action to use in local context menu" into pi-dev 2018-03-23 23:11:30 +00:00
TreeHugger Robot
d784f16950 Merge "Revert the low battery warning title to previous version." into pi-dev 2018-03-23 22:57:34 +00:00
Salvador Martinez
43f5cd7534 Revert the low battery warning title to previous version.
This CL removes the "Turn on Battery Saver" text from the title
since this is already added as an action to the notification.

Test: SysUI tests pass
Bug: 76205767
Change-Id: I7b7f612101c67df994e51dfa824c5af057e02f18
2018-03-23 13:53:27 -07:00
Rohan Shah
98cd691d8f [QS] Update string name in prep for freeze
Renaming the night light's "until <time>" string in case the translation
pipeline would re-register it after the freeze.

This is prepping for a change for the DnD secondary label.

Test: Visually/compiles
Bug: 70799372
Change-Id: I83608ce4dbf96c558b05191fc79f69325281e5b9
2018-03-23 13:17:55 -07:00
Mady Mellor
fb62a1cbd9 Add string for 'snooze' action to use in local context menu
Just getting string in for translation; work to add to
local context menu will come in follow up

Test: make
Bug: 34840333
Change-Id: Id23c0f5cc708bb8847601f792f12f1365bca674b
2018-03-23 11:14:17 -07:00
Mike Digman
5527286e08 Add vol up + power ringer toggle gesture
It only runs when the screen is on.

Test: manual, invoking gesture with different system settings
Bug: 75252670
Change-Id: I934d0bbb0a9fffecf34ebaadf77f3e1241d4faf7
2018-03-22 10:55:24 -04:00
Rohan Shah
1fbe7081ea Merge "[QS] Update long-press tooltip text" into pi-dev 2018-03-21 23:11:32 +00:00
TreeHugger Robot
323e41c6ae Merge "Update QS customizer add tiles string." into pi-dev 2018-03-21 15:33:49 +00:00
Amin Shaikh
845dd804d3 Update QS customizer add tiles string.
Change-Id: Iddea2dd8bd48b980e083fac447e905616031b365
Fixes: 27961533
Test: visual
2018-03-21 07:39:24 -04:00
TreeHugger Robot
fc45001103 Merge "Ensure QS contains at least 6 tiles." into pi-dev 2018-03-20 22:40:53 +00:00
Amin Shaikh
ae0c58be70 Ensure QS contains at least 6 tiles.
Do not allow users to remove QS tiles in the customizer if they
currently have 6 or fewer tiles.

Bug: 72511412
Test: visual
Change-Id: I02be1ee330a81db3d3af6a371187294d71f4db65
2018-03-20 16:50:55 -04:00
Amin Shaikh
f6821a29dd Remove unused string.
Bug: 74486080
Test: make
Change-Id: Ibe21b9b5c8c9a19b6bd3b73faa65f572159347d0
2018-03-20 19:05:38 +00:00
Amin Shaikh
329c828f18 Update mobile data off dialog.
Show the mobile data turn off dialog until the user taps the turn off
button. All subsequent toggles will immediately toggle data on/off. Also
update the message copy.

Fixes: 74072757
Test: runtest systemui && manual
Change-Id: I489d5c3c19d52a6f531b1b925b3210019412243b
2018-03-19 10:53:21 -04:00
Rohan Shah
28e1c0c8f3 [QS] Update long-press tooltip text
Tweaking language of the long-press tooltip.

Test: Visually
Bug: 75074093
Change-Id: I606049dabbb12fd9dae89d5e7a8e226d8adf35fa
2018-03-16 11:15:44 -07:00
TreeHugger Robot
f836c8940a Merge "Update USB charging strings" into pi-dev 2018-03-16 01:44:32 +00:00
TreeHugger Robot
edd7215f1c Merge "DndTile includes secondary label in content descr." into pi-dev 2018-03-15 21:10:21 +00:00
Jerry Zhang
38162adca7 Update USB charging strings
Fixes: 74405634
Test: n/a
Change-Id: I099e698d6dbbad132ab234fba4e2b2e1b6142464
2018-03-15 20:54:16 +00:00
Beverly
92ed74f9aa DndTile includes secondary label in content descr.
On talkback, user will be able to hear the secondary label
for DND now.

Test: manual
Change-Id: Iaef1e568d8b5f466f0b2352cf648fb43ef1bc64a
Fixes: 74946051
2018-03-15 14:50:40 -04:00
Julia Reynolds
9cf1756ffc Add msg to shade when dnd is suppressing notis
Appears when DND is on, shade notifications are suppressed,
and the shade is empty, regardless of whether any notifications
are currently blocked.

Test: atest SystemUITests
Bug: 74075050
Change-Id: Icba7d5eb41b0e6cbef3dec538a833d5995d9b379
2018-03-14 13:41:37 -04:00
TreeHugger Robot
b90670cf17 Merge "Show the H+ icon in HSPA+ network" into pi-dev 2018-03-13 17:12:37 +00:00
TreeHugger Robot
89c4bd5f26 Merge "Volume UI updates" into pi-dev 2018-03-13 12:17:30 +00:00
Julia Reynolds
a43867501e Volume UI updates
- redline compliance
- a11y labeling
- hide setting icon if device isn't provisioned

Change-Id: I62e0da51879dc5f6e05ed814f2d9b6ee41e125a1
Fixes: 74152268
Fixes: 73963013
Fixes: 73902271
Test: manual inspection
2018-03-12 17:54:30 -04:00
TreeHugger Robot
0cee663bf6 Merge "[QS] Update hotspot tile secondary text (data saver)" into pi-dev 2018-03-12 16:46:18 +00:00
Rohan Shah
2c23b13011 [QS] Update hotspot tile secondary text (data saver)
Updating the secondary text to show a different message when data saver
is enabled (to explain to the user why they can't toggle the tile).

Also collapsed double ternary to make it a bit easier to read.

Test: Visually
Bug: 33003328
Change-Id: I8a98f95c60ec9dcbe5899e87e29759e8d377b106
2018-03-09 13:47:05 -08:00
Amin Shaikh
f5830cade5 Show the H+ icon in HSPA+ network
Adds the H+ icon. If status bar should distinguish HSPA data icon from
UMTS data icon, this icon is shown as default while connected to HSPA+
network.

Fixes: 69505790
Test: runtest systemui and visually check in demo mode
Change-Id: Ia911fcdb98d2c118e2ef71d7a062efbf72a0809c
2018-03-09 14:08:42 -05:00
Julia Reynolds
e03414876a Don't allow foreground notis to be blocked inline.
Offer a 'minimize' option instead.

Also I'm changing the guts, do a little layout
cleanup in the confirmation dialog.

Change-Id: I9f2ef824d1f322752bc4161356f16a5dae166caf
Fixes: 73898083
Fixes: 73657862
Fixes: 73657452
Test: runtest systemui-notification
2018-03-09 11:02:15 -05:00
Amin Shaikh
43ad7fef06 Add secondary text to mobile data tile.
- Update data content description for the mobile data tile to include no
internet connectivity
- Update strings for telephony icons to show that they are no longer
only used for accessibility purposes

Bug: 74192657
Test: runtest systemui
Change-Id: I95f36e871dedfc9caea53326e8ee198f141fb8a8
2018-03-08 14:49:28 -05:00