summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardIndicationRotateTextViewController.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-13.0.0_r52' of ↵George Zacharia2023-08-021-4/+45
|\ | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 Release 52 (TQ3A.230605.012) Change-Id: Ic80f318636f1f70bbd009504352ddde511d0dead
| * Add keyguardIndication debug logsBeverly2023-02-011-3/+46
| | | | | | | | | | | | | | | | Test: Take a dumpsys of sysui, see keyguardIndication logs Bug: 264143996 Change-Id: I80994a38818e24515486a3cdf3717cb0f456eb10
* | KeyguardIndication: Fix glitchy charging info on lockscreenPranav Vashi2023-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | * This should fix charging info getting refreshed with animation every couple of seconds - on both lockscreen and ambient display. Change-Id: I3307099ff91944723807d83af3b04f4f682c1ccf Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: str-br <alexfinhart@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* | Merge tag 'android-13.0.0_r35' of ↵George Zacharia2023-04-031-2/+2
|\| | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 release 35 Change-Id: I709958b2f015d1774b2ece25894467c3a279f93c
| * Update lock screen messages to match UX expectations.Chandru2022-11-161-2/+2
| | | | | | | | | | | | | | | | Fixes: 248048347 Test: atest KeyguardIndicationControllerTest Test: 1. manually, enter lockdown mode, see "Unlock for all features and data" message. 2. Lock out FP, see swipe to open always on lockscreen. Change-Id: I6648b7d770485a7bd8c9d34d90863c530c7a92f7
* | Merge tag 'android-13.0.0_r16' into t13.0George Zacharia2022-12-151-3/+9
|\| | | | | | | | | | | | | | | | | | | | | Android 13.0.0 Release 16 (TQ1A.221205.011) Also included the following reverts: 1. Revert "fw/b: Import Wi-Fi standard icon [1/2]" 2. Revert "Add preference for toggling the wallpaper zooming animation" Co-authored-by: Semavi Ulusoy <doc.divxm@gmail.com> Change-Id: I9a6b51e452c28d10411712c59778bb54da5783e9
| * Allow biometric messages to show in sequenceBeverly2022-08-101-3/+9
| | | | | | | | | | | | | | Test: atest KeyguardIndicationControllerTest Bug: 231757718 Bug: 237104481 Change-Id: Ia8bf1037092247099c4a992d51563dd060d8fa5a
* | KeyguardIndication: Fix glitchy charging info on lockscreenPranav Vashi2022-10-211-9/+9
|/ | | | | | | | * This should fix charging info getting refreshed with animation every couple of seconds - on both lockscreen and ambient display. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I477980feee8959c3ea4603c019d5cee64135594b
* Remove FileDescriptor from systemui.Dumpable.Dave Mankoff2022-04-051-2/+1
| | | | | | | | | | This is the first step in moving over to the new public android.util.Dumpable api. Bug: 217567642 Test: m SystemUI Merged-In: Ibaebcfb2c6c5326d0c45b8c72d868c76655d89a0 Change-Id: Ibaebcfb2c6c5326d0c45b8c72d868c76655d89a0
* Update all persistent kg messages when kg is shownBeverly2022-01-181-6/+6
| | | | | | | | | | | We only want to remove all transient messages from being shown the next time the keyguard shows. Cleanup so unused code. Fixes: 214551067 Test: atest KeyguardIndicationControllerTest KeyguardIndicationRotateTextViewControllerTest Change-Id: I0a7c1dfafa49f6f3967d62e1d233a5cedf7f2497
* KeyguardRotateController handles minimum show timeBeverly2021-12-011-22/+96
| | | | | | | | | | | | | | | | | | | | | | Instead of KeyguardIndicationTextView ensuring that keyguard messages are shown for a minimum amount of time, move logic into KeygaurdIndicationRotateTextViewController, since the rotating text view controller already handles the rotating text durations its easier to coordinate the timing in one class rather than across two. Update the charging info if the device is at full charged and is plugged in. Sometimes the battery status is not updated so we need to check the actual %. Test: manual, atest KeyguardIndicationControllerTest KeyguardIndicationRotateTextViewControllerTest Fixes: 188134239 Fixes: 206342960 Fixes: 195347563 Change-Id: Id0cf9bb6c5ac95f83dbb2dcf32f41fa719c0853e Change-Id: If67b1b1cef2fd6db554df105005a185b1ad0f7d2
* [DO NOT MERGE] Ambient music - Update for favoriting intentMatt Pietal2021-09-201-4/+1
| | | | | | | | | | | | | Support tapping the icon to allow for directly favoriting the song. If no favoriting intent is set, fallback to using the other PendingIntent to open the 'now playing' music list. Also, cleanup all legacy code that was showing ambient music inside the indication area. Fixes: 199879413 Test: atest AmbientIndicationServiceTest Change-Id: If06865fb78f15d247900c717d4021e1c20b2e9cc
* Show transient error strings in whiteBeverly2021-06-291-6/+2
| | | | | | | | | | | For better visibility and consistency. Note: dock misalignment text color is still customized (light red) Test: manual Fixes: 192350893 Change-Id: Icb25eaf4302894f0d4c5f90663b49479dadbbbb4
* Update co-ex error logicBeverly2021-06-251-0/+2
| | | | | | | | | | | | | | | | | KeyguardIndication (bottom text area on LS) - show transient messages for a minimum of 2000ms not including animation time - if dual auth is enrolled: only show face auth errors if the user explicitly requested face auth In general, don't request face auth on the global actions menu (likely left over from when the power menu had affordances for components requiring authentication) Test: atest SystemUITest Fixes: 186302245 Bug: 183698582 Change-Id: I0290c66addc9981bf3fe20de24110e2d35e1f8eb
* KeyguardIndication text updatesBeverly2021-06-161-6/+2
| | | | | | | | | | | | | | | | | - update show/hide logic of text areas on AOD and lock screen so that the transition isn't as jumpy - increase minimum time to show a message from 600 to 1500 (now there are animations playing that obscure the text) - make auth errors show in red - update fingerprint listening state on lockout changes (still a bug where resetLockout isn't called for udfps: b/189802462) Test: manual Fixes: 187675377 Bug: 190459902 Bug: 189802462 Fixes: 189072438 Change-Id: I5862ce8d0e139f0d045d77b6a7b9797aeb573186
* Update KeyguardIndicationControllerBeverly2021-04-121-6/+9
| | | | | | | | | | | | - remove old code that used the old lockscreen layout - minor update to KeyguardIndicationController that hides transient messages immediately when biometric auth starts running => only do this if the new biometric auth running is face auth Test: manual Test: atest KeyguardIndicationControllerTest Bug: 184250864 Change-Id: Iafc2abcf5bf7ec11bf9ea6e7a72bb4ad0a89a728
* Don't show now playing in new rotating text areaBeverly2021-02-241-0/+5
| | | | | | | | Instead we'll show it in the AmbientContainer Bug: 181049781 Test: manual Change-Id: Ie933d7bd068cf8e06122b82b21a3fdb0dc695155
* Add test to allow icon-only messagesBeverly2021-02-171-6/+2
| | | | | | | | For the KeyguardIndication Test: atest KeyguardIndicationTest Fixes: 180101407 Change-Id: Ie46d630d87f2a566d3b480efe173b15109b4d7ca
* KeyguardIndication: Allow no message as long as there's an iconBeverly2021-02-161-2/+2
| | | | | | Test: manual Bug: 180101407 Change-Id: I9e2b71e3ee4cf7f3136be2eee475e6a52932360b
* Update LS/AOD clockBeverly2021-02-091-1/+2
| | | | | | | | | | | | | | - only use one paint for hours and minutes - customize vertical line spacing for Burmese numerals to account for long ascenders and descenders Note: Burmese numerals sometimes get cutoff at the bottom, bug filed at b/179815528 Test: manual Fixes: 177206446 Bug: 179781576 Change-Id: Iac71eabdcf1ed06962f38414253a2038651168c7
* Rotate keyguard indication messagesBeverly2021-02-091-0/+326
In the new LS layout, we show the following messages in the keyguard bottom area instead of in the KeyguardStatusView: - Logout button - Owner information We also now show now playing as part of the rotating text on the lock screen. Bug: 178794517 Test: atest SystemUITest, manual Change-Id: I1a0a47e300d1f9e5fe11c17d143e5a8f0ad8af60