summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/shade/NotificationShadeWindowControllerImpl.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-13.0.0_r52' of ↵George Zacharia2023-08-021-177/+157
|\ | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 Release 52 (TQ3A.230605.012) Change-Id: Ic80f318636f1f70bbd009504352ddde511d0dead
| * Fade out navbar on lockscreen -> homescreen transitionMike Schneider2023-04-061-0/+1
| | | | | | | | | | | | | | | | Introduces a new SYSUI_STATE_STATUS_BAR_KEYGUARD_GOING_AWAY QuickStepContract flag, to get an early signal when the keyguard is going away Bug: 275319714 Test: manual Change-Id: I06b925431ecc615e7445b386bd89a1c6f5198c84
| * Revert "Keep keyguard visible if we're launching an occluding activity over ↵Josh Tsuji2023-03-231-4/+2
| | | | | | | | | | | | | | | | | | | | a going-away keyguard." This reverts commit 88885b0e68fc1327ebf20ce70d36df82112b36c7. Reason for revert: b/274401776 Change-Id: I7b7f5c26240c8d4155cb6aad945f14a6724725c0
| * Keep keyguard visible if we're launching an occluding activity over a ↵Josh Tsuji2023-03-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | going-away keyguard. This happens when bypass is enabled - the occluding activity launches over the keyguard visually, but the keyguard is going away since it's being dismissed by the launch. We weren't checking for this case, so we were allowing keyguard to be hidden, showing the shade UI. Additionally, we need to keep the wallpaper around to prevent the keyguard UI from showing over a black backdrop during this animation. Fixes: 266630755 Test: launch occluding activity over unlocked lockscreen w/ bypass enabled Change-Id: I5a7df7df5aa5339276470529e7164475c6e99e13
| * Publish dream state to OverviewProxyService.Bryce Lee2023-01-251-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | This change pipes the current dream state to OverviewProxyService, similar to how doze information is shared. A condition has been added to monitor the dream state, and a callback relays this information to the StatusBarStateController. A new CoreStartable maintains the monitor for this interaction. Test: atest StatusBarStateControllerImplTest#testSetDreamState_invokesCallback Bug: 265755700 Change-Id: Ic927a7e55864453da026c14cd1c87e6a7cf22489 Merged-In: Ic927a7e55864453da026c14cd1c87e6a7cf22489
| * Merge "Table logging for state of NotificationShadeWindow" into tm-qpr-devMichał Brzeziński2023-01-181-176/+141
| |\
| | * Table logging for state of NotificationShadeWindowMichal Brzezinski2023-01-101-176/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | Extracting state to seperate class and inside of it implementing Buffer used for table logging Bug: 245441667 Test: Dump bugreport and see pretty table for state changes Test: adb shell dumpsys activity service com.android.systemui/.SystemUIService | grep -A100 "SystemUI TableSection START: NotificationShadeWindowController" Change-Id: Iffa0f2d79117f1da098f2d6b5abfeb4cb3f3c228
| * | Merge "Create a private flag to control shouldOptimizeMeasure" into tm-qpr-devTiger Huang2023-01-181-0/+2
| |\ \
| | * | Create a private flag to control shouldOptimizeMeasureTiger2023-01-131-0/+2
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | So other windows can be optimized by applying the flag. Bug: 259095271 Bug: 265150323 Test: presubmit Change-Id: Ibedced2843d13698a0ae1101bd4e34ee2fdb84a3
| * | Merge "Respect the preferred refresh rate" into tm-qpr-devBeverly Tai2023-01-121-0/+3
| |\ \ | | |/ | |/|
| | * Respect the preferred refresh rateBeverly2023-01-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was mistakenly removed in ag/16792104. Fixes: 264672007 Test: manually check that when UDFPS is enrolled, the preferred refresh rate is used on keyguard Test: atest NotificationShadeWindowControllerImplTest Change-Id: I6e98bf8f889c24d7da04fe0a7f4c93ab394b8032
* | | Merge tag 'android-13.0.0_r49' into t13.0Semavi Ulusoy2023-05-171-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | Android 13.0.0 Release 49 (TQ2B.230505.005.A1) Change-Id: I562410c4cae2550692078d7e7545392152b31b1c
| * | | Respect the preferred refresh rateBeverly2023-02-091-0/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was mistakenly removed in ag/16792104. Fixes: 264672007 Test: manually check that when UDFPS is enrolled, the preferred refresh rate is used on keyguard Test: atest NotificationShadeWindowControllerImplTest Change-Id: I6e98bf8f889c24d7da04fe0a7f4c93ab394b8032 (cherry picked from commit ceed101fdfa076a72e58eb713a5ab474b49e0d95) Merged-In: I6e98bf8f889c24d7da04fe0a7f4c93ab394b8032
* | | Merge tag 'android-13.0.0_r35' of ↵George Zacharia2023-04-031-42/+58
|\| | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 release 35 Change-Id: I709958b2f015d1774b2ece25894467c3a279f93c
| * | Adding logging to NotificationShadeWindowControllerMichal Brzezinski2022-12-291-28/+45
| |/ | | | | | | | | | | | | | | | | | | | | - adding ShadeWindowLogger using LogBuffer - adding interface for all loggers wanting to log simple constant strings: ConstantStringsLogger - adding default implementation of ConstantStringsLogger which can be used easily in Kotlin and using it in other loggers - moving mForceOpenTokens from NotificationShadeWindowController to its State Test: logging works Bug: 245441667 Change-Id: Ic7c3b553c6388982bbc50b34a99a26de9f5e0d86
| * Remove SOFT_INPUT_ADJUST_RESIZE flagMatt Pietal2022-11-181-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | It's been deprecated in favor of each window handling its own insets. Which we already do for the IME. Per IME team, this was triggering a path that would auto-show the soft input. So let's not do that. Fixes: 247957195 Test: manual, following steps listed in bug Change-Id: I997dee193ed1150a531c1cc32f79d7beba0d1021
| * Replaced setPanelExpanded with listener in NPVC/Central SurfacesShawn Lee2022-11-091-9/+10
| | | | | | | | | | | | | | | | | | | | Removed direct calls from NotificationPanelViewController and CentralSurfaces to update several classes to reduce reversed dependencies, and moved the related logic to use an existing listener instead. Test: manual Bug: 237811427 Change-Id: I1691066a51292aa95bc906e4b433faaec4a0b993
| * Replaced setQsExpanded calls in NPVC with listenerShawn Lee2022-10-201-3/+4
| | | | | | | | | | | | | | | | | | | | Removed direct call from NotificationPanelViewController to update 6 classes to reduce reversed dependencies, moved the related logic to use an existing listener instead. Test: manual Bug: 251173295, Bug: 249277686 Change-Id: I8ecac6e01f23ea438b806e74ca1962eddadba473
* | Merge tag 'android-13.0.0_r16' into t13.0George Zacharia2022-12-151-1/+42
|/ | | | | | | | | | | 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
* Clean up most Shade package warningsJustin Weir2022-08-021-2/+1
| | | | | | Bug: 240554750 Test: atest SystemUITests SystemUIGoogleTests Change-Id: I91c3104acb76e140136aaf07d4fa3d230b45e527
* repeatWhenAttachedAlejandro Nijamkin2022-07-311-12/+0
| | | | | | | | | | | | | | | | | | | This new View extension function replaces WindowAddedViewLifecycleOwner and is intended for use with views that are not part of an activity. It is more correct because it properly disposes itself and stops all previously launched coroutines/jobs when the view is detached from its view hierarchy. Test: Extensive unit tests included. Also tested manually making sure that there are no crashes and that jobs scheduled by a view-binder are properly cleaned up when the view is detached and replaced by a different view when changing device configuration using: $ adb shell wm density 1000 Bug: 235403546 Change-Id: Ied36c9e1735333c482fc82cfbe28e665083795ae
* Move NotificationShadeWindowControllerImpl to the shade packageJustin Weir2022-07-271-0/+935
Bug: 238333941 Test: atest SystemUITests SystemUIGoogleTests Change-Id: Idb4385254ebd679ec86aec00da6a43e33469deb2