Commit Graph

1620 Commits

Author SHA1 Message Date
TreeHugger Robot
263d7612d8 Merge "Add unlock to see more messaging to locked shade" into tm-qpr-dev am: 0b72c62716 am: 9862a01c0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20609656

Change-Id: I5e8750edf196d61ea8cc406327cbd19ba2128b41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-03 01:59:55 +00:00
TreeHugger Robot
0b72c62716 Merge "Add unlock to see more messaging to locked shade" into tm-qpr-dev 2022-12-03 00:42:16 +00:00
Steve Elliott
997a491702 Add unlock to see more messaging to locked shade
If the device is locked, and there are no notifications visible on the
keyguard, and the user expands the shade, if there would be
notifications present if the device is unlocked, then display a message.

Test: manual
      1: Enable "Only Show Unseen Notifs On Keyguard" flag
      2: Have some notifications
      3: Lock device
      4: On keyguard, observe no notifications
      5: Expand shade (without unlocking)
      Observe: New UI treatment is visible
Bug: 240472040
Change-Id: Ieeeb12aabb2b07bd9f4156a000ef8b2659be5e2f
2022-12-02 16:28:13 -05:00
Miranda Kephart
e399caa423 Merge "Announce saving screenshot to work profile" into tm-qpr-dev am: 6b37d71772 am: e42c9e67d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20519951

Change-Id: I7ce5abc778d088f3ca5cd1b72b54a2f3e4a48fd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-02 02:17:19 +00:00
Miranda Kephart
6b37d71772 Merge "Announce saving screenshot to work profile" into tm-qpr-dev 2022-11-30 15:17:34 +00:00
Kenneth Ford
1f7737e951 Merge "Adds RearDisplay education dialog to SysUI" into tm-qpr-dev am: 34b99a23d3 am: 7c406753e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20482626

Change-Id: I8a53ccb442379a6b6c5344e12a20d9e8f7e99467
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-24 16:47:43 +00:00
Kenneth Ford
6e1f4770aa Adds RearDisplay education dialog to SysUI
To accompany the rear display API's to allow
apps to move their content to the cover screen
on a foldable device, to use the powerful rear
cameras for selfies, there needs to be a consisten
educational dialog to let users know what is going
to happen. This will be shown for all apps that use
the rear display jetpack API's, to keep consistency
and remove any knowledge an app would have to know
about the device they are on.

Bug: 207686851
Test: Manual RearDisplay flow testing
Change-Id: Ib9e2b286c0d84e2411f19f7cf0b0397486e4d4b1
2022-11-24 01:26:50 +00:00
Archi Chomal
2c8dc399de Merge "QR Code Scanner tile says "Updating" when GMSCORE is updating" into tm-qpr-dev am: afd9d50f8b am: 9d18bcbc52
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20489494

Change-Id: Id2ee4075a824595f7caf9768a81ff90e8bb88c4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 04:28:23 +00:00
Archi Chomal
afd9d50f8b Merge "QR Code Scanner tile says "Updating" when GMSCORE is updating" into tm-qpr-dev 2022-11-22 03:54:51 +00:00
Alejandro Nijamkin
af8fd1b3c5 Support for unavailable and disabled affordances.
End-to-end implementation (across all layers of both System UI and the
shared library) for supporting a picker state for affordances, allowing
config implementations on the system UI to easily convey whether their
affordance should be hidden on the device or should be marked as
disabled and show a dialog with instructions for re-enablement.

Bug: 256695447,256695925,256695924
Test: unit tests still pass. Was able to see on a tablet that doesn't
support NFC that wallet is gone as an option and, when I deselected all
home devices, the home affordance was disabled with the correct
instruction dialog when picked. Then, marking at least one home device
as favorite, the picker allowed me to select "home" again.

Change-Id: I77637f28cdacecaa02ab33603bbc008a501d03d1
Merged-In: I77637f28cdacecaa02ab33603bbc008a501d03d1
2022-11-21 17:07:38 +00:00
Alejandro Nijamkin
2bc579152d Support for unavailable and disabled affordances.
End-to-end implementation (across all layers of both System UI and the
shared library) for supporting a picker state for affordances, allowing
config implementations on the system UI to easily convey whether their
affordance should be hidden on the device or should be marked as
disabled and show a dialog with instructions for re-enablement.

Bug: 256695447,256695925,256695924
Test: unit tests still pass. Was able to see on a tablet that doesn't
support NFC that wallet is gone as an option and, when I deselected all
home devices, the home affordance was disabled with the correct
instruction dialog when picked. Then, marking at least one home device
as favorite, the picker allowed me to select "home" again.

Change-Id: I77637f28cdacecaa02ab33603bbc008a501d03d1
2022-11-19 00:15:59 +00:00
Miranda Kephart
ce07e8705f Announce saving screenshot to work profile
Guarded by the SCREENSHOT_WORK_PROFILE_POLICY flag.

Bug: 258706100
Fix: 258706100
Test: manual (using talkback)
Change-Id: I70af7253d8bb951cf64da3d024dd2a038db4ce99
2022-11-18 11:26:07 -05:00
archichomal
ccf7777407 QR Code Scanner tile says "Updating" when GMSCORE is updating
Bug: 257230676
It included changing the QR scanner Tile text to say updating when the GMS core is being updated and the tile is unavailable for the time being.

Change-Id: Ifb6b3d5dae884de8d93ec8f21f323cef168c1937
2022-11-18 05:31:07 +00:00
Hawkwood Glazier
6cdb9351e5 Merge "Override for testing when clock is not set" into tm-qpr-dev am: 2e1ca7f61a am: bf5e957813
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20425089

Change-Id: I7a464ed273b3b2fb8e1a4239417c597cc245b30d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 16:07:57 +00:00
Hawkwood Glazier
2e1ca7f61a Merge "Override for testing when clock is not set" into tm-qpr-dev 2022-11-17 15:43:04 +00:00
Caitlin Shkuratov
0807167923 Merge changes Ifaf76304,Ia2404d43 into tm-qpr-dev am: 1f801dcc94 am: fad4ee3cd2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20482285

Change-Id: Id79533cdf567fdc0f80bb107d649c65ecd6030a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 18:46:37 +00:00
Caitlin Shkuratov
1f801dcc94 Merge changes Ifaf76304,Ia2404d43 into tm-qpr-dev
* changes:
  [Dock Defend] Include the current overheated status in the battery dump.
  [Battery] Minor updates to content descriptions when there's an estimate.
2022-11-15 22:31:51 +00:00
TreeHugger Robot
708549c73f Merge "Minor string updates to face unlock unavailable message" into tm-qpr-dev am: 44fd7e6cc5 am: a53c0b1f8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20458986

Change-Id: Ib06d95f188f95716ad35e2f0644a60629c675028
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-15 18:49:28 +00:00
Caitlin Shkuratov
b3ac32a083 [Battery] Minor updates to content descriptions when there's an
estimate.

Fixes: 259076468
Test: manual: verified content descriptions
Test: atest BatteryMeterViewTest
Change-Id: Ia2404d43b6eb456b7879047177aa1fd2c6d4b314
2022-11-15 16:18:42 +00:00
Chandru
c1d0b6b3a7 Minor string updates to face unlock unavailable message
Updates the char limit for this messag to match the max required length

Fixes: 258766518
Test: flashed the build and verified that the string shows up whenever
face is locked out.

Change-Id: I2f272d59c47a3108c44d568de43144b263b3b18c
2022-11-15 10:50:56 +00:00
TreeHugger Robot
ee3af72f66 Merge "feat(magnification settings): Add Diagonal resize handles for Window magnification" 2022-11-14 20:56:53 +00:00
Hawkwood Glazier
c2b519b890 Override for testing when clock is not set
Bug: 259097187
Test: Manually verified default clock was correctly used
Change-Id: I4fe2572aa95edf34cb7e6a4745e7dda35776c8f0
2022-11-14 17:37: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