summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsComponent.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-13.0.0_r35' of ↵George Zacharia2023-04-031-4/+2
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 release 35 Change-Id: I709958b2f015d1774b2ece25894467c3a279f93c
| * Make CoreStartable an Interface.Dave Mankoff2022-10-131-4/+2
| | | | | | | | | | | | | | | | | | Context is no longer passed in as a constructor arg. Bug: 229228871 Test: manual Change-Id: I3dd5e593f209d120eb36faf33ba629a2066ad3f5 Merged-In: I3dd5e593f209d120eb36faf33ba629a2066ad3f5
* | Powermenu: advanced reboot toggle - android 13ezio842022-10-261-2/+10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | base: PowerMenu advanced reboot toggle Now R already provides an additional dialog when there are more than the max allowed buttons in the first row (3 by default), to put there both Power and Restart button. We can use that existing logic to put together Restart and our custom buttons (recovery-bootloader-systemui), without breaking the possibility for Power to be moved there if needed. Q reference: https://github.com/ezio84/abc_frameworks_base/commit/749ba7b9e0821d755d8775b018af266083569ffc Change-Id: I8273ecf9ecf2ee7e8bbdc035f33479e3dac80577 Update power menu icons Change-Id: I42a9a6ac88ec4bac052a409c1c8b6385d22092f3 Power menu: don't allow device trees to override the config Advanced power: fix Power showing twice if lockdown button is available base: expose advancedReboot for OpenDelta Change-Id: I5cb73f76bc04edaa8ec59177e0a270cb5b651eda Co-authored-by: Alex Crux <du.alexcruz@gmail.com> Co-authored-by: maxwen <max.weninger@gmail.com>
* [Status Bar] Re-name StatusBar.java -> CentralSurfaces.java.Caitlin Cassidy2022-02-281-1/+1
| | | | | | | | | | | Also add some javadoc to CentralSurfaces.java to make its purpose slightly clearer. Bug: 197137564 Test: compiles Test: atest SystemUITests Change-Id: Id06e7ba7641d6d2bc276cce57101c9c7236bc758 Merged-In: Id06e7ba7641d6d2bc276cce57101c9c7236bc758
* Rename SystemUI class to CoreStartableDave Mankoff2021-11-091-2/+3
| | | | | | Bug: 205725937 Test: manual Change-Id: I045a8b4b21cae0f4a6e61502384e2b1a607bc1c6
* 6/N Move everything into SysUIComponent.Dave Mankoff2020-08-161-2/+2
| | | | | | | | | | | | | | | It is far easier to move _everything_ into SysUIComponent, and then selectively promote things back to GlobalScope and/or WMScope than it is to try to do it one at a time. With this change, though lots of files are touched, very little actually changes structurally. After this change goes in, folks should stop using @Singleton quite so freely. Most things should live in @SysuiSingleton. @Singleton is due to quickly be replaced by @GlobalScope. Bug: 162923491 Test: atest SystemUITests && manual Change-Id: Idc31d3d83b030581fb1fa869f7fafc4f2d3a8828
* Controls UI - Lock screen supportMatt Pietal2020-04-301-1/+7
| | | | | | | | | | | | | Show controls on the lock screen if the user has chosen to show sensitive controls. All touches when locked should go through bouncer, which will force a global dialog dismiss before proceeding. Bug: 152531337 Fixes: 155402810 Fixes: 154669090 Test: manual Change-Id: Ib5a305e58a40dd9df5ae2e0f74c5c9bad2edc976
* Make GlobalActionsDialog injectable.Dave Mankoff2020-01-101-4/+10
| | | | | | Bug: 147493050 Test: atest SystemUITests && manual. Change-Id: Ibfa841b39fc5083cf679224b9c277c5a92e58e0b
* Remove all calls to getComponent(CommandQueue.class).Dave Mankoff2019-11-011-4/+13
| | | | | | | | | | | | | | | Makes AuthController, GlobalActionsComponent, InstantAppNotifier, SizeCompatModeActivityController, and TvStatusBar all injectable. Prior to this CL, CommandQueue contained within it a SystemUI object that it used to start itself up and add itself to components. With this change, the SystemUI object is no longer necessary, as Dagger will ensure that a CommandQueue is available to those who need it. Bug: 143702229 Test: atest SystemUITests Change-Id: I2763a6d918b41fe27a2370fdd820da476654e14f
* Pass context into the constructor of SystemUI objects.Dave Mankoff2019-10-101-0/+4
| | | | | | | | | The next step is to remove `components` from the SystemUI objects and replace them with Dagger injection. Bug: 138786270 Test: atest SystemUITests Change-Id: I27415a8fa8ba0378599356426d849c9cfb9879d2
* Make CommandQueue implement CallbackControllerJason Monk2018-12-041-1/+1
| | | | | | | For consistency and future utilities Test: existing tests pass Change-Id: If7bc2774452b01f2b3607d559f1f57e54ec06b6c
* Basic workspace wireless charging animationBeverly2018-01-241-4/+4
| | | | | | | | (No animation on ambient or lockscreen yet) Test: manual (testing w/o wireless charger, set DEBUG_WIRELESS=true) Bug: 67598445 Change-Id: Ifeef72805930187b8f78e72fd44bd7da25724e0c
* StatusBar: add DISABLE2_GLOBAL_ACTIONS.Charles He2017-10-101-0/+10
| | | | | | | | | | | | | We add a new StatusBarManager flag to disable the global actions dialog (a.k.a. the power button menu), which is required in certain kiosk mode scenarios. Bug: 65813398 Test: runtest systemui Test: manual, by using a modified version of TestDPC and DevicePolicyManagerService Change-Id: Ib7da2f4837281e98e558afcc30be8bae6f2e179a
* Move shutdown UI to sysui (when possible)Jason Monk2017-08-081-0/+5
| | | | | | | Test: click restart or power off in global actions Change-Id: I0dc30a9772bbfb3cd3c3568f157e854fef87bf87 Fixes: 63576195 Fixes: 64125291
* Move global actions to sysui and add plugin interfaceJason Monk2017-03-221-0/+84
- Move default global actions ui to sysui - Add fallback legacy interface in case sysui breaks - Switch to fallback if sysui dies or isn't responding Test: Long-press power Change-Id: I943522611de5dbbee61e66c67cf3a56379091e97