Commit Graph

1234 Commits

Author SHA1 Message Date
Julia Reynolds
2d880ae90a Merge "Update the conversation priority flow" into sc-dev 2021-05-04 15:41:59 +00:00
Julia Reynolds
7503b32df3 Update the conversation priority flow
Update the long press text and remove the separate onboarding
screen

Test: atest NotificationConversationInfoTest
Fixes: 186100981
Change-Id: I8a90e99a4eaebf1e5136771856303e830a234d0a
2021-04-30 15:02:49 -04:00
PETER LIANG
42c7ce491e Merge "Fix the GAR issue of all the icons on A11y FM have no meaningful A11y label." into sc-dev 2021-04-30 03:51:13 +00:00
Cecilia Hong
60cdd91176 Merge "Update Smartspace media recommendation card appearance to match the latest mock." into sc-dev 2021-04-30 02:44:43 +00:00
cecilia
3f2e85a9c4 Update Smartspace media recommendation card appearance to match the latest mock.
A contextual card header is added, and also the expanded version of recommendation card.

Screenshots:
[Compact]
- http://screen/U3SPZQHPYLyoU4t
- http://screen/8ccMqUqUmBQUvmd
[Expanded]
- http://screen/9ASnXWGHWoyph2B
- http://screen/A6hzbLDjpfsjVkA

Demo: https://drive.google.com/file/d/1iRZBhC81q-HflRQDUgzMbNeBagkAo9aS/view?usp=sharing

Fixes: 186165627
Test: Studio builds
Change-Id: Ib7f65bdcbe7ede1901c7969d04f3efbbc7c2461d
2021-04-29 19:36:52 -04:00
Peter_Liang
6f90704f49 Fix the GAR issue of all the icons on A11y FM have no meaningful A11y label.
Patch action:
Add the state or content description into the corresponding feature target.

Bug: 178289063
Test: atest AccessibilityTargetAdapterTest AccessibilityTargetAdapterTest
Change-Id: I2f421da027bc95021ab24cadf8b3afdc30fa6d4a
2021-04-29 21:58:35 +08:00
PETER LIANG
cf2da13db3 Merge "Revise the character limit of the string." into sc-dev 2021-04-29 02:51:30 +00:00
Beth Thibodeau
6848213106 Merge "Updated layout for more compact player" into sc-dev 2021-04-28 18:32:01 +00:00
Peter_Liang
b8f8b1fd57 Revise the character limit of the string.
Goal:
In order to get better translations from the expert to users

Bug: 184872714
Test: manual test
Change-Id: I776ddece7163ba3ee6643d4e19f5d45c558aad39
2021-04-29 00:11:47 +08:00
Beverly
b8a4958216 Suggest use fp after face-auth fail
when udfps is enrolled

Test: manual
Fixes: 186314172
Change-Id: Ib75a896286309207e47f8121cff76ecda6e05515
2021-04-28 14:25:51 +00:00
Beth Thibodeau
819ec8aeaf Updated layout for more compact player
- App icon is now on the corner of album art
- Small player is condensed, with smaller art
- No album art will instead show a fallback view with device icon
- Device name shows in output switcher
- Adjusted colors and dimens to match spec
- Fixed bug where too many compact actions could be shown

Test: visual
Test: atest com.android.systemui.media
Bug: 176177555
Bug: 182292357
Change-Id: I56ec5c5f1188f7547b6e74a2f9bf8d1ad2ee21e4
2021-04-27 19:58:45 -04:00
Beverly
f6346f4513 Support touchExplorationEnabled on udfps
- When touchExplorationEnabled, touch events become hover events. This
updates UdfpsController to handle hover events so the user can still
authenticate when a11y options are enabled
- Update UdfpsView contentDescription
- Update LockIconViewController labels to support a11y

Test: manual
Bug: 185912108
Change-Id: Ic9590607105459506f8ce5d4d73f779853f1ed31
2021-04-27 13:58:44 -04:00
Anna Zappone
8f42c33204 Merge "Polish updates" into sc-dev 2021-04-23 14:14:14 +00:00
Anna Zappone
1889a57132 Polish updates
- Fix strings for accessibility
- Use newly added targetCellHeight and reduce placeholder padding to fit
the lower cell heights of some devices
- Remove shadow from Work Profile badged icon

Bug: 184857890, 185137298, 185891880
Test: local
Change-Id: Ia0b93c80b1019c805b9644bb1d51b009fc529ebe
2021-04-22 20:08:59 +00:00
Jay Aliomer
f99023b507 Merge "Image inline reply" into sc-dev 2021-04-20 16:15:31 +00:00
Jay Aliomer
73d2150d15 Image inline reply
Fixes: b/185377047
Test: manual
Change-Id: I394f1485f95fe36b739e0d377c6a552f0621347b
2021-04-19 15:42:26 +00:00
Fabian Kozynski
22c255d69c Update strings for privacy dialog
Test: manual and TB
Fixes: 184776891
Change-Id: I316ff5a26ef642b2d28e0c49ab3e1b59b9a8d05c
2021-04-16 20:33:26 +00:00
Fabian Kozynski
b0351d8b70 Merge changes from topics "FK_remove_qs_flag", "FK_remove_qs_flag_2" into sc-dev
* changes:
  Remove QS flag
  Fold in QS overlay resources and set flag to true
2021-04-15 13:21:59 +00:00
Jeff DeCew
a2ed9b6bef Fix snooze view
* Remove indent to fix content alignment in any notification section.
* Background color had not been updated and made it look transparent.
* Title case for Undo.

Bug: 184982648
Fixes: 180123838
Test: visual inspection
Change-Id: I5648a0a530931ee7f268e4b64eac4dd71015f593
2021-04-14 14:30:56 -04:00
Fabian Kozynski
cd41fcd0de Fold in QS overlay resources and set flag to true
This also consolidates some resources that were size dependent if they
are not needed.

Bug: 185250134
Test: manual
Change-Id: I98002a1b1f29d0bd68af1c6b76f5e4fb21cdb421
2021-04-13 15:31:19 -04:00
Silin Huang
ce953e44cf Merge "Wallet card carousel screen UI polish." into sc-dev 2021-04-12 20:20:47 +00:00
Silin Huang
da80a9a4e6 Wallet card carousel screen UI polish.
1. Adjust header icon size, 50dp -> 56dp, and increase the top margin
2. Update header icon color for locked state
3. Show both "show all" (app button) and "unlock to pay" (action button) in locked screen
4. Update the colors of the buttons

Test: manually test on device
Bug: b/184905963
Change-Id: I53d6cab7fb0adee412d89408481fcf8926e1a29f
2021-04-12 11:31:17 -07:00
Matt Casey
53cf30dade Merge changes Ia9f0293a,I06bab02a into sc-dev
* changes:
  Prevent CropView from getting confused by multiple pointers.
  TalkBack and switch access support for CropView
2021-04-12 14:32:19 +00:00
Evan Severson
81a64e22f9 Merge "Update mic/cam toggles to the latest UI mocks" into sc-dev 2021-04-09 03:09:07 +00:00
Matt Casey
8ccd7eb538 TalkBack and switch access support for CropView
- Switch to androidx ExploreByTouchHelper, add View pass-through calls.
- Add virtual view IDs for left/right bounds as well.
- Make content description describe the position (as a %)
- Allow volume buttons to move the current boundary along its axis
  (matching pattern used in Photos)
- Remove unused click action for boundaries (was breaking switch access)

Bug: 184018281
Bug: 184012364
Bug: 180062481
Bug: 184105678

Test: Enable talkback, move crop bounds with volume keys, same with
      switch access
Change-Id: I06bab02a37620f19e15cddcfc79ae858a1614e92
2021-04-08 12:57:18 -04:00
PETER LIANG
94424ac41b Merge "Fix the GAR issue of Switch Access user can not move the FAB to the edge to hide it in half." into sc-dev 2021-04-07 01:42:16 +00:00
TreeHugger Robot
f7ac580ec2 Merge "Update the handleUpdateState() of Wallet Tile." into sc-dev 2021-04-06 16:07:43 +00:00
Anna Zappone
7d0422a7ca Merge "Update strings for People Tiles & priority flow" into sc-dev 2021-04-06 14:13:15 +00:00
Anna Zappone
77294fcd0e Update strings for People Tiles & priority flow
Test: none
Bug: 182930101, 183398340
Change-Id: Ibcf56cefbf8f4ead858c22fba063f6feec4d27a5
2021-04-06 11:27:02 +00:00
Peter_Liang
3311d9c227 Fix the GAR issue of Switch Access user can not move the FAB to the edge to hide it in half.
Root cause:
Not set and export the corresponding Accessibility actions.

Solution:
Add two Accessibility actions related to move to the edge to hide and
move out the edge to show.

Bug: 184597649
Test: atest AccessibilityFloatingMenuViewTest
Change-Id: Icd98087d6c43f07ba2b8ec7050386a0573938dd9
2021-04-06 15:59:47 +08:00
Silin Huang
ca83ce9c0a Update the handleUpdateState() of Wallet Tile.
New logic for handle update state:
1. if the wallet feature is unavailable - Unavailable
2. if it has cards:
device locked - Inactive
device unlocked - Active
3. if no cards - Inactive
Also update the secondary label for each case.

Test: manually test on device
Test: atest
Bug: b/182486878
Change-Id: Iccd6624ff9f85926dfc3b147b65bc1354c74650f
2021-04-05 23:29:51 -07:00
PETER LIANG
f7923a9cc2 Merge "Fix the GAR issue of the Switch Access user can not move." into sc-dev 2021-04-06 03:49:27 +00:00
Silin Huang
80142305f6 Add an activity for wallet card carousel screen.
The WalletActivity initializes a WalletScreenController to query the
wallet cards and present on the content view.
The next step is to launch the new activity from QuickAccessWalletTile.

Test: manually test on deivce
Test: atest
Bug: b/182964813
Change-Id: Idbf0918e111db0d00f3b60b8c26b968c961df202
2021-04-02 11:08:29 -07:00
Evan Severson
a270fc3f96 Update mic/cam toggles to the latest UI mocks
This touches the sensor use dialog and the notification.
Also we shouldn't leak listeners every time the dialg is made.

TODO: Detect when both camera and mic are opened at the same time
TODO: Settings page

Test: Manually open all UI available
Bug: 183985427
Change-Id: Ie743f402835d8fd3e644a0374f03062f0a61c31a
2021-04-01 20:10:57 -07:00
Peter_Liang
cbf6b7ef03 Fix the GAR issue of the Switch Access user can not move.
Root cause:
Not set and export the corresponding Accessibility actions.

Solution:
Exported the four Accessibility actions used to
move the floating menu to the screen corners like a system bubble.

Bug: 178433098
Test: atest AccessibilityFloatingMenuViewTest
Change-Id: Ic2e205a1ed2e8c1ea8794e25835f56444271b9df
2021-04-01 23:13:35 +08:00
Flavio Fiszman
e4931c88d5 Change People Tile config activity layout
Change-Id: I7df41980e1d9fe6b14a91be9ff68fad0c1c7185f
Test: manual
Bug: 183721209
2021-03-31 10:34:13 +00:00
Joshua Mccloskey
8ec8ca2538 Merge "Add fingerprint strings" into sc-dev 2021-03-30 16:53:52 +00:00
Joshua Mccloskey
94ac664863 Add fingerprint strings
Bug: 182717125
Test: N/A
Change-Id: I082e52f0653394e990341810ff920d9c51dd753c
2021-03-25 18:43:33 -07:00
TreeHugger Robot
9de381c0eb Merge "Allow QS detail panels to change text of "Done" button" into sc-dev 2021-03-25 01:01:32 +00:00
Alex Johnston
8d95267eea Merge "Update QS network logging string" into sc-dev 2021-03-24 20:54:13 +00:00
Matt Casey
91e8c8694a Merge "Change scroll capture lable to "Capture more"" into sc-dev 2021-03-24 19:18:35 +00:00
Peter Kalauskas
eeedbc44f9 Allow QS detail panels to change text of "Done" button
User detail panel settings button will now say "Close" instead
of "Done"

Bug: 169783558
Test: atest SystemUITests
Change-Id: Ibafe212dce8a8b8654e877418200e1dc2c5dec8b
2021-03-24 10:36:16 -07:00
Alex Johnston
10377240e3 Update QS network logging string
If network logging is enabled on the work profile
by a profile owner, use the string 'Work profile
network activity is visible to your IT admin'

Bug: 183606908
Test: atest com.android.systemui.qs.QSSecurityFooterTest
      manual testing - enable network logging as a
      profile owner on a BYOD device and a corp-owned
      device. Verify correct string.
Change-Id: I7b6537ea5e7b906f49f353a92a8911df1fbae631
2021-03-24 16:53:56 +00:00
Matt Casey
4034fdee1e Change scroll capture lable to "Capture more"
Test: Visual confirmation
Change-Id: I0e0cd8c0a0b3172f0cd71a7107b4b69e1cd56eb1
2021-03-24 10:56:46 -04:00
Peter Kalauskas
45df6837cd Allow QS detail panels to change text of settings button
User detail panel settings button will now say "User settings" instead
of "More settings"

Bug: 169783558
Test: atest SystemUITests
Change-Id: I1a7a6963f15dbbf6ed8086113fa47f4662d8373c
2021-03-23 13:15:44 -07:00
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