* 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.
if needed.
Bug: 255625888
Test: manual: Verify battery content description in all states
Test: atest BatteryMeterViewTest
Change-Id: I497c14096da2693cc35bf01d76287c021ddc3bf8
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
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
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
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
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
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
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
For near-field file-based audio transfer and
explicit user audio interaction.
Bug: 253416313
Bug: 235618473
Test: m -j
Change-Id: I4379f395496f0c49936798f74222a767ed79385c
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
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
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
* 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).
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
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
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
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
Strings updated based on UX writer and safety team suggestions.
Bug: 243625078
Test: Tested on Target.
Change-Id: I8019075ae2f35f4e6b0e48347a558f86db976a27
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
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
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
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