Commit Graph

1599 Commits

Author SHA1 Message Date
TreeHugger Robot
ee3af72f66 Merge "feat(magnification settings): Add Diagonal resize handles for Window magnification" 2022-11-14 20:56:53 +00:00
Caitlin Shkuratov
0746550f0b Merge changes from topic "caitlinshk-dock-defend-initial" into tm-qpr-dev am: 879714254a am: 5bbd3ec373
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20454811

Change-Id: I26a5abb80e989108c94b81612af7db688af802ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-14 15:30:11 +00:00
Caitlin Shkuratov
879714254a Merge changes from topic "caitlinshk-dock-defend-initial" into tm-qpr-dev
* changes:
  [Dock Defend] Cache the density in the drawable so we don't re-fetch it constantly.
  [Dock Defend] Udpate the content description to account for dock defend if needed.
  [Battery] Ensure we always update the text and content description when necessary.
  [Dock Defend] Ensure the bottom of the battery icon is always aligned with the bottom of the other icons, even if the shield is displayed.
  [Dock Defend] Add an optional shield to the status bar battery drawable.
2022-11-14 14:50:30 +00:00
Chandru S
513f56263b Merge "Update a11y label for unlock icon on lock screen." into tm-qpr-dev am: 2d8ced93d8 am: 830bc2ba6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20424645

Change-Id: Ie4779c10b3afe7ea1f9ef55a07f1ff0a1a08734c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-14 13:42:56 +00:00
Hyunki Kim
e72f621e38 feat(magnification settings): Add Diagonal resize handles for Window magnification
Test: `atest SystemUITests:com.android.systemui.accessibility.WindowMagnificationControllerTest`

Bug: b/188136191

Change-Id: I270689671765f4287f91689e5acb82711bef4885
2022-11-11 12:00:44 -08:00
Caitlin Shkuratov
aced6da687 [Dock Defend] Udpate the content description to account for dock defend
if needed.

Bug: 255625888
Test: manual: Verify battery content description in all states
Test: atest BatteryMeterViewTest

Change-Id: I497c14096da2693cc35bf01d76287c021ddc3bf8
2022-11-11 19:13:54 +00:00
Caitlin Shkuratov
29eb2d1276 [Battery] Ensure we always update the text and content description when
necessary.

When writing some tests for the new dock defend icon, I came across
some existing issues when we don't correctly update the text or content
description. This CL adds tests that would've been failing, and updates
BatteryMeterView to make them pass.

Bug: 255625888
Test: atest BatteryMeterViewTest
Change-Id: I3485a50c6471dd75dce64a3daf414208afa8d25e
2022-11-11 19:13:54 +00:00
Chandru
2999ed91fc Update a11y label for unlock icon on lock screen.
Fixes: 226966905
Test: manually, enroll face auth without bypass, enable talk back, lock the phone by pressing the power button, press power button to open locked lockscreen, unlock using face, verify the label being read out for unlock icon is "Unlocked" instead of "Unlock"
Change-Id: I30bbd5c68ad6bdf0a00c4c72c40e55f71d8f729f
2022-11-11 09:46:07 +00:00
Ling Ma
5ea7759345 Merge "Add the secondary sub to internet dialog" into tm-qpr-dev 2022-11-10 20:57:30 +00:00
TreeHugger Robot
ddc630b4e8 Merge "Show the "Face unlock unavailable" message on bouncer as well" into tm-qpr-dev am: 0f8d00ae59 am: d7fb6924f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20403485

Change-Id: I461b62c1c6db6cfc54d6b8f328a15447b756ec01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-10 18:58:52 +00:00
Chandru
4fc67c1e80 Show the "Face unlock unavailable" message on bouncer as well
Other changes:
  - Updates the char limit on face unlock unavailable message
  - https://localization.google.com/query/10894717

Fixes: 247688462
Test: atest KeyguardIndicationControllerTest
Change-Id: I8341db47318a2cf00b04aaf9f42e8ab0392b46fe
2022-11-10 12:12:49 +00:00
Ling Ma
35f44e4d26 Add the secondary sub to internet dialog
For feature auto data switch:  The feature only
applies to non-DDS. If enabled, we automatically switch to the non-DDS for data traffic when it has better availability than the DDS.

After the change(UI required by b/247880971), when the secondary SIM is being used, it will show up
on the internet dialog and be highlighted. Taping on the gear icon will
bring the user to the secondary SIM setting page.

Test: atest + manual
Bug: 258510998
Change-Id: I41156c29529623e661318caae90edbb9f7d184fe
Merged-In: I41156c29529623e661318caae90edbb9f7d184fe
2022-11-09 22:02:23 +00:00
Govinda Wasserman
ab6acac3d1 Merge "Adds a notification to work profile screenshots" into tm-qpr-dev am: 5f3f88b058 am: ab968b7572
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20355049

Change-Id: Ic9f4cdf7e6535f2b5e301a61a3746de061867b8b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-09 16:44:07 +00:00
Govinda Wasserman
5f3f88b058 Merge "Adds a notification to work profile screenshots" into tm-qpr-dev 2022-11-09 15:36:29 +00:00
Archi Chomal
5f6902fa76 Merge "UX fixes for QR code scanner QS tile" into tm-qpr-dev am: e842874d97 am: 36c39fd64a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20327451

Change-Id: Ifc6828e1c1bff517929332826529ae0d4c36ee78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-09 06:10:45 +00:00
Archi Chomal
e842874d97 Merge "UX fixes for QR code scanner QS tile" into tm-qpr-dev 2022-11-09 05:04:53 +00:00
Adam Bookatz
02ab4975b6 Merge "Debugging sometimes requires 'admin' (strings)" 2022-11-08 00:33:07 +00:00
Eun-Jeong Shin
fc13cb1d68 Generate consent dialog when device log access is requested in SystemUI
This change is to implement device log access dialog from SystemUI rather than
 system server.

Bug: 238434889, 244173014
Test: GtsVerifier
Ignore-AOSP-First: migration of device log access dialog
Change-Id: I17058c008084f91099cd45a51ec8d8fbab1d78bb
2022-11-07 19:54:17 +00:00
Chandru
059b3162b3 Always trigger face auth even when it is locked out. am: af57f130e9 am: 416aa19b03
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20370589

Change-Id: I420107d736db701a120792eaecf8b5224096feab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-05 18:33:37 +00:00
Chandru
af57f130e9 Always trigger face auth even when it is locked out.
1. This is the only way to show a message on keyguard that face unlock is not available in response to all face unlock triggers.
2. This was the behavior of face auth until recently (b/244402839#comment11)

Other options:
 - Add a new callback method to a KeyguardUpateMonitorCallback to indicate that face auth trigger occurred.
    - Adding a new method to a long list of methods in KeyguardUpateMonitorCallback is not a good idea
    - This would be a very specific API that no one else might even need.

Indication message shown on keyguard:
 1. first time face lockout.
    - Shows "Too many attempts. Face Unlock disabled." followed by "Use fingerprint instead" or "Swipe up to open"

 2. while the face is already locked out
    - when the device wakes up
      - "Face Unlock unavailable." followed by "Use fingerprint instead" or "Swipe up to open"

 3. Coex when both face and fingerprint are locked out
    - when the device wakes up
      - Existing behavior is retained, nothing is shown.

No difference in behavior between bypass vs non-bypass

Bug: 247688462
Test: atest KeyguardUpdateMonitorTest

Change-Id: I3c7e15818eedfef9b5af9dd0b0fc29b7fda231e1
2022-11-05 17:14:21 +00:00
Adam Bookatz
85c09ad69c Debugging sometimes requires 'admin' (strings)
Currently, two configs say that they require the "primary user", but they actually require an "admin user". Fixing the strings accordingly.

Change-Id: I072fe789c2214ee682e5c3358c7c0f4e97e4fcc1
Test: N/A
2022-11-04 19:12:20 +00:00
Nick Chameyev
5e567d4c5e Merge "[Partial screensharing] Update copies" into tm-qpr-dev am: a4dd047cd6 am: 2e7708549a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20289904

Change-Id: I2388884f0f0afcdfd430804d8d2f66580cbdac01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 12:25:23 +00:00
Govinda Wasserman
6f2ef58897 Adds a notification to work profile screenshots
Test: Setup a work profile
Test: Take a screenshot of a standard app
Test: Observe normal screenshot flow
Test: Take a screenshot of a work profile app
Test: Observe that a notification appears below the screenshot
BUG: 254245929

Change-Id: Ib48861fbe8bf28d7a1cfbb9ce1b60e2af1c3018e
2022-11-03 08:22:29 -04:00
Valentin Iftime
165ddc4bdf Add new TV bottom sheets for HTT mic mute
For near-field file-based audio transfer and
 explicit user audio interaction.

Bug: 253416313
Bug: 235618473
Test: m -j
Change-Id: I4379f395496f0c49936798f74222a767ed79385c
2022-11-02 19:59:12 +01:00
Nick Chameyev
ce5b93c713 [Partial screensharing] Update copies
Updates media projectoin app selector
title copy.

Adds copies for media projection enterprise
policies and for permission dialog when requested
by a system service without name.

Bug: 240939253
Test: manual
Change-Id: I3dca0eb447e85a8b3431c345b65eeae94a3849db
2022-11-02 17:41:52 +00:00
archichomal
5fc270c834 UX fixes for QR code scanner QS tile
Bug: 254277602
It included changing the state of the tile to INACTIVE to remove the highlight which made it seem that the scanner was always on.

Bug: 254279069
It included changing the title of the QS tile according to UX specifications.

Change-Id: Ie776b0ab70349060e79facacc69629d5411845c8
2022-10-31 16:18:43 +00:00
Peter Liang
b12f423bb7 Support the feature of Drag to remove for the Accessibility Floating Menu(3/n).
Action:
For Talkback users, support the accessibility action of the message view with the undo action.

Bug: 237716018
Bug: 251688823
Test: atest MenuItemAccessibilityDelegateTest
Change-Id: Ie2f602729f5c3322decee4a09894b4df78cda4ea
2022-10-26 13:28:11 +00:00
PETER LIANG
11d8d5bb38 Merge changes I1f676efc,I9428c3a3
* changes:
  Support the feature of Drag to remove for the Accessibility Floating Menu(2/n).
  Support the feature of Drag to remove for the Accessibility Floating Menu(1/n).
2022-10-26 13:24:29 +00:00
Peter Liang
e8bff1ea10 Support the feature of Drag to remove for the Accessibility Floating Menu(2/n).
Action:
Show the message view with the action when removing the menu view to prompt if users undo their operation.

Bug: 237716018
Bug: 253114877
Test: atest MenuAnimationControllerTest
Change-Id: I1f676efc47a5632d9e0097b2d10030769cc4b43d
2022-10-26 15:17:16 +08:00
Ling Ma
bdf47ceda1 Add the secondary sub to internet dialog
For feature auto data switch:  The feature only
applies to non-DDS. If enabled, we automatically switch to the non-DDS for data traffic when it has better availability than the DDS.

After the change(UI required by b/247880971), when the secondary SIM is being used, it will show up
on the internet dialog and be highlighted. Taping on the gear icon will
bring the user to the secondary SIM setting page.

Test: atest + manual
Bug: 244064524
Change-Id: I41156c29529623e661318caae90edbb9f7d184fe
2022-10-23 19:13:01 -07:00
Aaron Liu
5e60d98d0f Merge "[User Switcher] Change copy for phone dialog." into tm-qpr-dev am: c55617e3c3 am: 4eb2e12fd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20243800

Change-Id: I3472122cfe5e632d3cd7b3715fbb337118f959a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-22 00:42:59 +00:00
Aaron Liu
f901d16b41 [User Switcher] Change copy for phone dialog.
Change copy to Manage Users to be consistent with other parts of user
switcher.

Fixes: 254288710
Test: Look at phone user switcher on device.
Change-Id: I855d8a2353a5589ce8e986b1692b8ddc7c15f875
2022-10-20 10:24:52 -07:00
Nick Chameyev
75792015c7 Merge "[Partial Screensharing] Add string resources" into tm-qpr-dev am: c65bf000b9 am: 634b9cb61a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19978426

Change-Id: Iec123609f0fb11f87abc2acff7ecdf03b62b36a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-04 17:14:23 +00:00
Nick Chameyev
a96a6da97e [Partial Screensharing] Add string resources
Adding all the copies that are requied for
the partial screensharing feature.
They were approved by UX/product and PWG.

Screenshot: https://screenshot.googleplex.com/ATYGF69tQuhFX3N.png

Test: presubmit
Bug: 240939253
Change-Id: I4e39eeed78cc784611d85e085052a9da934a8733
2022-09-23 15:48:24 +00:00
Badhri Jagan Sridharan
fd501af4eb Merge "Update unplug charger dialog strings" into tm-qpr-dev am: 630aee0bc1 am: adcd0298a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19728292

Change-Id: Ib46677544032e53f895c65b30706e6c0c7a2f682
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 01:22:41 +00:00
Badhri Jagan Sridharan
630aee0bc1 Merge "Update unplug charger dialog strings" into tm-qpr-dev 2022-09-08 00:32:19 +00:00
Fabian Kozynski
69d41ad5d7 Merge "Make disabled by policy tiles look UNAVAILABLE" into tm-qpr-dev am: 54dd46a814 am: ff04c8b4d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19802196

Change-Id: I4f07fa5bb8708e2d8c64c24255646fb0af18d102
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-06 17:12:31 +00:00
Fabian Kozynski
54dd46a814 Merge "Make disabled by policy tiles look UNAVAILABLE" into tm-qpr-dev 2022-09-06 16:20:27 +00:00
Badhri Jagan Sridharan
6dabc0e8a4 Update unplug charger dialog strings
Strings updated based on UX writer and safety team suggestions.

Bug: 243625078
Test: Tested on Target.
Change-Id: I8019075ae2f35f4e6b0e48347a558f86db976a27
2022-09-02 00:04:16 +00:00
TreeHugger Robot
4a16e989d6 Merge "Update co-ex face failure message" into tm-qpr-dev am: c8f7faf7f9 am: 8a2ab14d80
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19745936

Change-Id: I07f0a4fee9cfe9ca0518f924d62c2df9cd545279
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-01 03:35:55 +00:00
TreeHugger Robot
c8f7faf7f9 Merge "Update co-ex face failure message" into tm-qpr-dev 2022-09-01 02:02:16 +00:00
Fabian Kozynski
3108d16a9c Make disabled by policy tiles look UNAVAILABLE
Tiles that are disabledByPolicy will have the same looks as a
STATE_UNAVAILABLE tile. The accessibility action on click will read
"Double-tap to learn more", and the state description will add the
corresponding "Unavailable" text

Test: manual using TestDPC and TalkBack.
Test: atest QSTileViewImplTest QSIconViewImplTest
Fixes: 237643526
Change-Id: I40d65b58c14fe30a6fdb3c07da3c9c94579e7712
2022-08-31 16:57:48 -04:00
Beverly
3eaa689b16 Update co-ex face failure message
Suggest to the user to use their fp sensor.

Test: atest KeyguardIndicationControllerTest
Test: enroll fingerprint and a different face. Then attempt
to authenticate with face, and receive a failure (matcher must run and not
recognize face). Observe two messages: "Can't recongize face" and
then, "Use fingerprint instead"
Fixes: 231382377

Change-Id: Ie969e0b1403a530ac589a8a121581656977c82a7
2022-08-31 13:48:08 +00:00
Jenhou (Alan) Huang
5f942ce8d8 Merge "[VolumePanel] Move the Settings' volume panel into a SystemUIDialog" into tm-qpr-dev am: 16219f2ea4 am: 154a6a50b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19482609

Change-Id: Ifbcfdd270d34df3216e0ef6bd5e8f6415e8cb433
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 06:12:29 +00:00
Alan Huang
e03186af0e [VolumePanel] Move the Settings' volume panel into a SystemUIDialog
Move most of the logic of the Settings' volume panel to a SystemUIDialog
to make the dialogs consistent with other system dialog.

Bug: 202262476
Test: manual build and launch the new dialog.
Change-Id: Ic27dcca77072dee2b78827e1eb58c28022b47265
2022-08-29 18:59:51 +00:00
Wesley Wang
ab0857dd32 Merge "Update charging string" into tm-qpr-dev am: 18c444523d am: a55d9f670f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19561356

Change-Id: Iab49601af521eac4b51cd47c3691be0be719380a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 03:02:24 +00:00
Wesley Wang
5a753625f4 Update charging string
- Update dock charging string
 - Update charging protected string

Bug: 234796699
Bug: 236798712
Test: make and verify strings
Change-Id: I6e778a7a6bec7fc5beca7bbce8dcd0ea49cebf09
2022-08-19 18:40:32 +08:00
Tyler Freeman
d897158618 Merge "feat(magnify): add window magnification settings panel UI" 2022-08-16 21:04:53 +00:00
Hyunki Kim
186ff1690c feat(magnify): add window magnification settings panel UI
Using option panel, user can change window magnification options(change size, scale, allow diagonal scrolling)
When turn on change size, user can change window magnification size by dragging the edge of the window or 3 type size.
and turn on allow diagonal scrolling feature, user can move the window diagonally
and can change scale

Feature cherry-picked from https://partner-android-review.googlesource.com/c/platform/frameworks/base/+/2235963

Test: unit and manual

Bug: b/188136191

Change-Id: I4f045c5c334ba4c99c893bdbc44f2c1f62cd9067
2022-08-16 13:22:46 -07:00
TreeHugger Robot
b36b1d2e5e Merge "Allow biometric messages to show in sequence" into tm-qpr-dev 2022-08-12 16:54:36 +00:00