forked from LiquidRemix/android_frameworks_base
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hold "volume up" during boot to disable all overlays
Following the way "safe mode" was coded, you can now long press "volume up" during boot to automatically disable all overlays (from the current system/owner user). This should come in handy as a global "reset" mechanism. Example output: 03-12 03:22:07.090 678 678 D TEST : Disabling overlay android.GalaxyEvolution 03-12 03:22:07.176 678 678 D TEST : Disabling overlay com.android.launcher3.GalaxyEvolution 03-12 03:22:07.267 678 678 D TEST : Disabling overlay com.android.server.telecom.GalaxyEvolution Caveats: SystemServer seems to have already loaded a context based on the overlays by the time "disableOverlays" is finished, so SystemUI turns up themed, even if the overlay is correctly disabled. In the case of a user using this reset mode to "fix" a SystemUI FC, this means that the user will experience one more FC after boot (which then would trigger a SystemUI restart, loading the default theme this time, and thus ending the FC loop). Change-Id: I64fb769ea175d37a90a0804f916926b63e5b93ca Signed-off-by: Harsh Shandilya <harsh@prjkt.io> Signed-off-by: VenkatVishalV <venkatvishal124@gmail.com>
- Loading branch information
1 parent
f9e2693
commit 0689655
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters