Slices should completely replace notifications,
they should never be visible at the same time.
Test: send notification, look at AOD
Change-Id: I14f04db1e4541a24f7b9117659e4c9481262aeff
Fixes: 73908553
- Introduced logout button with desnse button style that switch to user 0 and stop the user
- Use owner_info to calculate KeyguardStatusView bottom if that exist, or keyguard_clock_container otherwise, to prevent notification overlapping owenr_info or the clock.
Test: Logout button does not appear in user 0
Test: Logout button does not appear on unmanaged device
Test: Logout button does not appear when isLogoutEnabled is false
Test: Logout button is shown on secondary users when isLogoutEnabled is true, clicking on logout button switch to user 0 and stops the user
Bug: 71786325
Change-Id: I5adfabd3ea4cc2ed78e7bdd31cbb25f2cea4cce2
Showing battery percentage in AOD in the keyguard
indication area when also randomizing the text field
position to avoid burn-in.
Removed charging indication from KeyguardStatusView
since now it's always visible in the indication area.
Bug: 64155983
Test: flash taimen, look at AOD
Test: flash walleye, look at AOD
Test: unplug device, look at message
Test: wait for change in battery level in AOD
Change-Id: I6110d47d155e95e838cb901ab0928f0512454ab5
Using androidx package and new API, also splitting content into
multiple views for better animation support.
Bug: 64155983
Test: visual, see data from provider propagate to AoD
Change-Id: I74b5511d582e7ec1f6ffe5dbc5595f54b9ccb202
Optional message that lives under the clock and also
in AoD. Implemented using a slice.
Test: launch sysui, look at the date in AoD
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
Change-Id: I9dbc827bd48c6a3d1b25b0a481ffaecc0dd37f25
The new fonts do not have a dedicated fancy colon for the lockscreen clock
and fall back to Roboto which breaks the kerning.
Change-Id: I4621c6248de3f42f6c3c49ee4149bc1c0bb233e6
Fixes: 63891134
Test: visual; runtest -x packages/SystemUI/tests/src/com/android/keyguard/KeyguardClockAccessibilityDelegateTest.java
Change-Id: Iea27b111b4025e2ad4b9cd0139f18f1653ca17dc
Fixes: 63800919
Test: Set a dark wallpaper, set owner info; go to AOD, verify that owner info is not visible.
Test: Turn off display. Make sure date shows on AOD. Also make sure it works with a white wallpaper.
Fixes: 63528250
Change-Id: I82e0e579f351c5f145021d0b3759f79c11a1270e
* changes:
Change keyguard theme when wallpaper colors change
Themeable keyguard clock
Use theme color on transient text
Keyguard icon colors matching light or dark theme
Fixes an issue where the date on the lockscreen
was not title cased in certain locales.
Change-Id: I90ecb8bac88641c962424477e677d94a16098798
Test: Set language to Spanish, verify that first letter of date on lockscreen is capitalized.
Fixes: 62233491
Change-Id: Ie9074be76f23f9c353e38b515fd5a3cd9702696d
Fixes: 37646086
Test: Trigger AOD, observe that clock does not shift in response to notifications.
The fancy colon on keyguard is causing issues for TalkBack.
Fixed by replacing it with a regular colon in accessibility infos.
Change-Id: Id4802a8dc422f2abb523dbbf887291d5983fd4ee
Fixes: 34949557
Test: runtest -x /frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/KeyguardClockAccessibilityDelegateTest.java
Test-Manual: Enable talkback, make sure that lockscreen time is read out correctly
- Change PowerManager to not turn on display when on AOD
- Add charging icon to AOD1
- Add transient charging indication when plugged in
Bug: 30876804
Bug: 35850304
Test: runtest systemui; enable AOD, plug in phone, verify charging indicator shows, verify charging text shows and goes away after a few seconds
Change-Id: Icb80843a12c56c7e2abeca78115a366b4d508d4f