This is the first CL to add base functionality. A follow-up will make the circular target envelop the PIP window when it's in the target.
Test: manual
Bug: 138116784
Change-Id: Icdc2c76e2d731ac1ec263bbdc681e8859281d846
Empty audio_recording_disclosure_exempt list (moving content to an
overlay)
Bug: 152559914
Test: make
Change-Id: I0d165ce2b96c9e71b8ca0587f5917cfd9cc29649
Per feedback, changing name to 'device controls' from 'quick controls'
Bug: 153200907
Test: manual
Change-Id: I0b570469979dbe10d08d803c9f45b6b547611115
Make the controls more legible across different displays.
1. Support marquee in the status field to support long strings
2. Adjust margins for different dp devices
3. Dynamically adjust the max number of columns based on fontScale and
screen width in dp
Bug: 152765942
Test: visual, use different display/font sizes
Change-Id: I72665f1164ff30e0a5746adb9fdc89f00edd35d4
onResume, BubbleOverflowActivity lazy-updates UI theming
The stack has to collapse for the user to make theming changes, so
onResume is guaranteed to run before the user sees the overflow again.
Fixes: 148879187
Fixes: 149711636
Test: manual: toggle light/dark mode -> illustration updates
Change-Id: Iaad6c92d140e141ca9203990efc07df16cc7edf8
Ensures text that is important for accessibility in the auth prompt
credential view is read aloud by TalkBack.
Test: Manual:
1. Set PIN/pattern/password as screen unlock method
3. Enable Talkback in settings
4. Launch the CtsVerifier-v2 test app
5. Open SECURITY > Biometric Tests > BIOMETRIC+CREDENTIAL TESTS
6. Tap 4a: SetUserAuthParams: Credential, Cipher
7. Tap Choose Unlock time-based key with credential
8. Enter an incorrect PIN/pattern/password
Fixes: 151389440
Fixes: 151390960
Change-Id: I95c38cb678b0ae46988539b167c48fe9572677bc
- Change user, guest and add user icons.
- Add light and dark theme support for both quicksettings and keyguard
user switcher.
Bug: 150286182
Test: Check both lock screen user switcher and quick settings switcher manually on tablet and phone (phone doesn't have a lock screen user switcher).
Change-Id: I18cd12e85ab236f3d541998673c375393b4ad3f4
With this CL, the layout calculates how many columns it can safely show
given the available space and distributes the tiles accordingly. This
prevents the tiles from going out of the bounds of the container
(happening even in Default Display Size).
With the change in the minimum horizontal margin, the three lowest
Display Size will show three columns and the others will show 2. Showing
two columns has not great expansion animations.
Opening a bug to explore UI.
Fixes: 151810573
Bug: 152429614
Test: manual
Change-Id: I8e123c4497f51f0d5c83b8eb14319f488a96bc9a
1. Long structures no longer get too close to the menu
2. Menu needs content description
3. Menu should ripple
Bug: 152486847
Test: visual
Change-Id: If5d2198446755773e624463ca13a6569b8edf496
- 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
If reboot happens too quickly, the video output freezes during the
fade in window enter animation. This leads to the text on the shutdown
UI being hard to read, as the window is still transparent and text from
underneath might shine through.
To resolve this, this change removes the window animations from the
shutdown UI for TVs, so that the UI appears instantly without a fade.
Bug: 152509487
Test: flash build and reboot / factory reset
Change-Id: I28153a56f3b5cfc4f89b06fcc8fe6fba935eb30b
The background of the shutdown UI was transparent.
This lead to the text on the shutdown UI being hard
to read, as text from underneath might shine through.
This change makes the background of the shutdown UI opaque for TVs.
Bug: 152509487
Test: flash build and then factory reset / reboot the device
Change-Id: I620224b9c7b289fbf4db3ffec78007653bea0d71
Adjusts the fonts, sizes, and positions of the AuthCredentialView UI
invoked by BiometricPrompt to better match the UI for setting or
confirming a PIN/pattern/password in Settings.
Test: Manually, using the BiometricPrompt demo and TestDPC apps
Fixes: 152053691
Change-Id: I0d0316b2ac5bde696706e916a29021481e824509
App icons may not respond well to tinting, as currently defined, and
the spec calls for them to remain untouched. Make sure to limit the
icon size.
Bug: 152397193
Test: visual
Change-Id: I36afecfc440fb82814c5bd00ca20e4d71ce40789
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