[mickaelmendes50]
- Rework QS Tile label logical when power save mode is on
Squashed with:
Author: Marko Man <darkobas@gmail.com>
Date: Wed Apr 18 13:22:52 2018 +0200
base: SystemUI: add qs AOD tile
Change-Id: I0d9948dbd48e309d8fcc9b2c33be8b17810dc5b0
Author: shagbag913 <sh4gbag913@gmail.com>
Date: Sun Mar 1 15:49:17 2020 -0500
AODTile: disable tile when power save mode is on
AOD is not allowed when power save mode is active, reflect that upon the
tile.
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
Change-Id: I3fc7f2a33d25a1616e8df5698ca2bc2a23d45cbb
Author: Bruno Martins <bgcngm@gmail.com>
Date: Sun Apr 12 19:04:24 2020 +0100
AODTile: Explicitely disable long clicks
Returning null in the getLongClickIntent() method is not enough to disable
tile long clock and results in crashes:
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.android.systemui, PID: 1391
E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.resolveTypeIfNeeded(android.content.ContentResolver)' on a null object reference
E AndroidRuntime: at android.app.ApplicationPackageManager.queryIntentActivitiesAsUser(ApplicationPackageManager.java:1062)
E AndroidRuntime: at com.android.systemui.ActivityIntentHelper.getTargetActivityInfo(ActivityIntentHelper.java:70)
E AndroidRuntime: at com.android.systemui.ActivityIntentHelper.wouldLaunchResolverActivity(ActivityIntentHelper.java:47)
E AndroidRuntime: at com.android.systemui.statusbar.phone.StatusBar.startActivityDismissingKeyguard(StatusBar.java:2724)
E AndroidRuntime: at com.android.systemui.statusbar.phone.StatusBar.startActivityDismissingKeyguard(StatusBar.java:2709)
E AndroidRuntime: at com.android.systemui.statusbar.phone.StatusBar.startActivityDismissingKeyguard(StatusBar.java:2716)
E AndroidRuntime: at com.android.systemui.statusbar.phone.StatusBar.handleStartActivityDismissingKeyguard(StatusBar.java:3159)
E AndroidRuntime: at com.android.systemui.statusbar.phone.StatusBar.lambda$postStartActivityDismissingKeyguard$26$StatusBar(StatusBar.java:3155)
E AndroidRuntime: at com.android.systemui.statusbar.phone.-$$Lambda$StatusBar$CSd9n4rtnrfFyOdT2eTFRNUO5xM.run(Unknown Source:4)
E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883)
E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Change-Id: Ia7d4da4723600c47bedbfeb4b9152924a50d52dd
Author: Bruno Martins <bgcngm@gmail.com>
Date: Tue Jun 9 21:47:24 2020 +0100
AODTile: Rewrite AOD setting handling
This fixes the tile status on clean installs, which was showing as
active despite AOD being disabled.
Change-Id: I148cfb34938165395bc52c830d1f2e374b5427df
Author: Luca Stefani <luca.stefani.ge1@gmail.com>
Date: Thu Mar 18 12:22:21 2021 +0100
SystemUI: AODTile: Use SecureSetting to change doze setting
Change-Id: Ic39d26ac8a37041b75862627a497274b24f3362c
Author: LuK1337 <priv.luk@gmail.com>
Date: Thu Mar 18 12:23:45 2021 +0100
SystemUI: AODTile: Actually start using SecureSetting
Change-Id: I37f0194fcb54db1cf3cae221f7f702d398834ced
Author: Michael Bestas <mkbestas@gmail.com>
Date: 2023-03-15 17:10:40 +0200
fixup! SystemUI: Add AOD QS tile
Change-Id: I32e94533a8f2815579d8f1f2d6cb18c7d686af96
Change-Id: I5249106fea3518e8fa69990d1aa13c21cc542cb1
- Convert px to dip
- Modify the dialog to match toast
- Fix positioning for OP7 Pro slider
- Remove unused dimens and drawables
Edit: set position values to 0 for neutrality. They should
be adapted by overriding in each device tree.
Change-Id: I6bf3ad449a76f7145ab3db697ac57becd788a1f2
Ported from OxygenOS and reworked for our alert slider
implementation. We target AudioManager instead of Zen,
icons are also the same as aosp and the dialog uses the
material theme as well as support for our themes.
To use, the alert slider config must be enabled. By default,
the dialog shows on the left side. To move it to the right
side, set the location config to 1.
Change-Id: I0522b849a8aeb3af0936eec4c0def894931cc564
* Icon designed and made by Andrew Fluck.
Signed-off-by: Mesquita <mesquita@aospa.co>
Co-authored-by: Andrew Fluck <andrew@aospa.co>
Old-Change-Id: I9bb734652273f7d35284a39d22adb94bad1e00ec
Change-Id: Ic5a0894422963524e75643bcdf91970de1e85592
* Based on OnePlus' OxygenOS tile, reworked to work with AOSP toggling without requirements on proprietary telephony-ext features
idoybh (YAAP): Adapt to A12
[ghostrider-reborn]
- Set secondary label to SIM1 or SIM2 instead of just "On"
[Jyotiraditya Panda <jyotiraditya@aospa.co>]
- Code cleanup and improvements
[Andrew Fluck <andrew@aospa.co>]
- Update SIMs QS icons
Change-Id: Ie2e280c07f24f9da6b4ee218b72501a2713ce429
Co-authored-by: Andrew Fluck <andrew@aospa.co>
Signed-off-by: Hernán Castañón Álvarez <herna@paranoidandroid.co>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
* Caffeine Tile icon designed by Andrew Fluck
[Adin Kwok] Add long press to infinity to caffeine qs tile
[ghostrider-reborn] Updated for android 12
Co-authored-by: Adin Kwok <adin@adin.dev>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: If54ea27ddf179c2de39b61850163e14173727698