Commit Graph

1022 Commits

Author SHA1 Message Date
Steve Elliott
ef5a7c42c4 Rename "Incoming" section to "New"
Fixes: 158494079
Test: manual, visual
Change-Id: Iaea368d7d31905f2f179a56374360a817cc39a54
2020-06-09 15:58:03 +00:00
Lyn Han
75882e42da Merge "Update string for dismiss option in manage menu" into rvc-dev 2020-06-08 17:42:30 +00:00
Lyn Han
6e1e07eeb6 Update string for dismiss option in manage menu
Fixes: 158037450
Test: manual - manage menu shows "Dismiss bubble" instead of "Dismiss"
Change-Id: I87f4bf11272757637f99d4486a61bbefb32b53e9
2020-06-07 15:31:02 -07:00
Matt Pietal
8761fbb501 Merge "Controls UI - Handle 'not found' better" into rvc-dev 2020-06-04 23:22:54 +00:00
Beth Thibodeau
f55bc6afc2 Adding back media resumption
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
2020-06-04 17:26:13 -04:00
Matt Pietal
370db8771d Controls UI - Handle 'not found' better
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
2020-06-04 17:20:42 -04:00
Julia Reynolds
e03aa8f751 Update conversation priority onboarding
And fix a bug with toggling priority I noticed while testing

Test: atest
Fixes: 157988478
Bug: 155490513
Change-Id: I8f5a6076ed2aa6c862a187bac15f3ad9af3cd141
2020-06-02 16:49:39 -04:00
Jeff DeCew
2cba4d1db1 Fix typo in Conversations notification.
Test: manual, visual
Fix: 155497988
Change-Id: I3d15896a20f80adfd408ed09f57e4d7cc01d8e2e
2020-05-29 14:08:10 -04:00
TreeHugger Robot
99984950b8 Merge "Moving product specific strings to product directory" into rvc-dev 2020-05-28 14:17:03 +00:00
Lucas Dupin
c1b6a084a0 Merge "Revert "Add media icon to status bar"" into rvc-dev 2020-05-28 01:42:32 +00:00
Lucas Dupin
68857da059 Revert "Add media icon to status bar"
This reverts commit 5d0422347f.

Reason for revert: User feedback
Fixes: 157547868
Change-Id: I1ac06ff410212cd8c83764424268cf4aa38022d8
2020-05-27 23:43:10 +00:00
Sunny Goyal
98eea984b7 Moving product specific strings to product directory
Test: Verified apk builds
Bug: 152086714
Change-Id: I409c7cb235727309b9d2ba6ad8773cd3c0dd6df7
2020-05-27 15:15:07 -07:00
Jeff DeCew
cc4f6f2425 App Pinning strings; security notes on startup dialog.
Bug: 151332926
Test: manual, visual
Change-Id: Ic3e83f1bf4451afe5fe7f21827388f91b0b87378
2020-05-27 12:59:02 -04:00
Julia Reynolds
4959bdd948 Update conversation strings
Test: manual
Bug: 157215227
Change-Id: Ic9f3625451a0546b3b92d7113f91ee7db17b4a9d
2020-05-21 18:52:45 -04:00
Sean Pont
d7ff85ad87 Show lock message in Global Actions
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
2020-05-20 10:53:25 -07:00
Lucas Dupin
5d0422347f Add media icon to status bar
Test: manual
Test: atest PhoneStatusBarPolicyTest
Fixes: 156672238
Change-Id: I915ef61cbfd290e417b98c6f423ae230b2938fa7
2020-05-19 14:15:13 -07:00
Fabian Kozynski
93a6975a9e a11y for controls rearranging
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
2020-05-14 16:40:04 -04:00
Fabian Kozynski
b3c393f723 a11y for controls management
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
2020-05-13 11:45:00 -04:00
Jay Aliomer
54fda22191 Merge "Screen recording sound options" into rvc-dev 2020-05-07 23:20:35 +00:00
Jay Aliomer
0bd491ae55 Screen recording sound options
Adding options to screen recording
Internal and Mic audio combination

Fixes: 146340420
Test: manual
Change-Id: Ib3c3b6c78a4d075f22479897e7c9e93a29c4fd4f

Change-Id: If8d49ebba02150580d8caf3117d293aedcd648ff
2020-05-07 18:02:34 +00:00
Lyn Han
8333811d76 Merge "Overflow a11y" into rvc-dev 2020-05-07 04:28:51 +00:00
Steve Elliott
0b17a06762 Merge "Add new "incoming" header for HUNing notifications" into rvc-dev 2020-05-06 22:34:15 +00:00
Lyn Han
e570696b7d Overflow a11y
Fixes: 149232987
Test: manual - TalkBack on for overflow button, overflow bubbles;
prompts "double tap to add back to stack"

Change-Id: I20f2a3731dca014cf7555d49d676192636bb8d61
2020-05-06 13:52:14 -07:00
Steve Elliott
19b2c86d8a Add new "incoming" header for HUNing notifications
Bug: 155494605
Test: manual, visual
Change-Id: I4838d235bb18204fe929c935b230c041eb12f4f1
2020-05-06 12:05:53 -04:00
Fabian Kozynski
4429ee6d93 Fix redlines and strings in Controls dialog
Also, make sure that it appears on top of the app

Fixes: 155205745
Test: manual
Change-Id: I56ebae4ef6bdf1c89850a4ad70be05b37e3cd0cb
2020-05-04 12:44:41 -04:00
TreeHugger Robot
daaa0d74d2 Merge "Allow for longer strings in priorty onboarding screen" into rvc-dev 2020-04-30 22:42:58 +00:00
Josh Tsuji
b24071b704 Merge "Fix a11y issues." into rvc-dev 2020-04-29 19:41:28 +00:00
TreeHugger Robot
486fdc0b68 Merge "Fix back and cancel flows" into rvc-dev 2020-04-28 20:36:12 +00:00
Joshua Tsuji
0f390fb0fb Fix a11y issues.
Test: use talkback w bubbles
Fixes: 129522932
Fixes: 140367439
Fixes: 149539297
Change-Id: I8ca58df861a23365fdd3a2b7155161538f194d5c
2020-04-28 15:37:17 -04:00
Fabian Kozynski
5f561f0b01 Fix back and cancel flows
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
2020-04-28 14:42:09 -04:00
Matt Pietal
94316e9058 Controls Ui - Handle error scenarios
1. Handle errors on action responses
2. Handle errors on control state load
3. Handle retries for PIN prompts

Bug: 150931809
Test: mock app
Change-Id: Ibfb6fc6eb2f94c31d4438bdeb5709800b8256463
2020-04-28 11:56:34 -04:00
Evan Laird
c084789311 Allow for longer strings in priorty onboarding screen
- 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
2020-04-28 11:22:09 -04:00
Julia Reynolds
8582df5cc7 Add experience for shortcut-less convos
- no conversation specific controls
- no 'bubble this' button
- turn off interim placeholder channels
- fix msg tracking - only shortcut-less notifs matter

Test: atest
Bug: 154814754
Change-Id: Ia04ce496d4e7b2f353c71865f338b5229192c395
2020-04-28 12:11:47 +00:00
Robert Snoeberger
c981dc94ef Show "Device" for remote playback device.
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
2020-04-27 22:46:29 -04:00
Joshua Tsuji
6855cabd98 Add the Manage menu!
Now you can dismiss, un-bubble :(, or manage the settings of your bubbles.

Test: manual
Bug: 143173197
Change-Id: I4c90bdab3f3f61646153ce615fa257bc64ed8a17
2020-04-21 10:58:53 -04:00
Evan Laird
31ca547400 DO NOT MERGE: Show an onboarding screen for priority conversations
Test: atest SystemUITests
Bug: 151843296
Change-Id: I5280cff71591f8551016b6ba00d3a579507367cb
2020-04-16 11:59:43 -04:00
Julia Reynolds
8d25709048 Update conversation inline controls text
- Support 'all conversations bubble'
- Only the selected button text should be colorful

Test: atest
Bug: 153471239
Fixes: 153885391
Change-Id: Ideb7cf6c853095cc6c55fa1b7f651aa7a0259f4e
2020-04-15 21:25:28 +00:00
Miranda Kephart
ddb33e9daf Merge "Fix screenshot preview accessibility label" into rvc-dev 2020-04-14 14:59:14 +00:00
Miranda Kephart
caf82becec Fix screenshot preview accessibility label
Changes label to match the "Edit" button. Also makes the description
more correct when the preview is /not/ tappable (i.e. when the
screenshot was taken, but we haven't successfully saved it to disk
yet).

Test: manual
Fixes: 152834239
Change-Id: Iae406bcc672e56445e620349851e94cfaf97859a
2020-04-14 14:29:26 +00:00
Fabian Kozynski
8765d35779 Add controls rearrange activity
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
2020-04-10 10:18:57 -04:00
Matt Pietal
54170e0757 Controls UI - Rename 'quick controls'
Per feedback, changing name to 'device controls' from 'quick controls'

Bug: 153200907
Test: manual
Change-Id: I0b570469979dbe10d08d803c9f45b6b547611115
2020-04-06 09:23:09 -04:00
Ben Murdoch
66041721d7 Merge "Add user switcher related strings to SettingsLib." into rvc-dev 2020-03-30 15:01:46 +00:00
Fabian Kozynski
6745b6c78b Merge "Increase string char limits" into rvc-dev 2020-03-27 19:25:12 +00:00
Fabian Kozynski
2de4180f45 Increase string char limits
Test: no test
Fixes: 151082675
Change-Id: I9d7c9359c6fe0fdc03c2b96aaae54bd0faabc5f1
2020-03-27 13:05:12 -04:00
Andras Kloczl
ababfcd4cf Add user switcher related strings to SettingsLib.
- Move guest related strings from sysui to settingslib
- Add a new string to settingslib

Test: Build, flash and check if the texts are appearing properly in keyguard and quicksettings user switcher.
Bug: 142798722
Change-Id: I5b3e13581efa274ce8ed899b8a949e5ef69c173c
2020-03-27 15:51:48 +00:00
Curtis Belmonte
1e6a356911 Fix display of BiometricPrompt wipe warning dialogs
Ensure that both local wipe dialogs are shown by the BiometricPrompt
credential view as appropriate:
- A "last attempt" warning dialog when the user is one failure from a wipe
- The "now wiping" dialog shows before the prompt is dismissed

Test: Manual:
1. Create a work profile via TestDPC (go/testdpc)
2. Set a work profile lock pattern/PIN/password via Settings > Security
3. Launch the work profile instance of TestDPC
4. Scroll down to "Lock screen"
5. Tap "Lock screen restrictions"
6. Select the "Work profile" tab
7. Set "Max password failures for local wipe" to 3
8. Lock & unlock the screen
9. Launch work profile app
10. Enter the wrong pattern/PIN/password three times

Fixes: 152016710
Change-Id: I3771d222aaaacef5fa70c1246432a6fd1afdcd42
2020-03-25 13:32:49 -07:00
TreeHugger Robot
294823f0cb Merge "Controls Ui - More string adjustments" into rvc-dev 2020-03-24 20:45:29 +00:00
Matt Pietal
9e3d40d265 Controls Ui - More string adjustments
More adjustments based on feedback

Bug: 151322044
Test: manual
Change-Id: I682f51ecafa8c8d800e89842f51f013a4d2bc883
2020-03-24 14:48:43 -04:00
Matt Pietal
6cdba1f435 Controls UI - Up string limit
Requested by translation team

Test: none
Bug: 152054587
Change-Id: I4e204bd7235dad2dfc0c53813a947e4a2b71097c
2020-03-23 11:16:13 -04:00
TreeHugger Robot
bb725ba49e Merge "Controls UI - Update strings to match latest guidance" into rvc-dev 2020-03-21 03:14:16 +00:00