This reverts commit 7f17e3a10b.
Revert "ParanoidSystemUI: BluetoothDialog: Don't ever show non paired devices"
This reverts commit b50ecb0639.
Revert "ParanoidSystemUI: BluetoothDialog: Sort devices by last connection time"
This reverts commit dff5d308a3.
Revert "ParanoidSystemUI: Cleanup bluetooth dialog impl"
This reverts commit e7404f9b96.
Revert "ParanoidSystemUI: Implement Bluetooth dialog"
This reverts commit 715fa3012f.
Hppens right after we forget a device.
It also annoyingly shows first in the list
Change-Id: Ia641e8d15043a303d769ba6968590d864523b647
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Same as settings does it. Offer a major UX improvement.
Change-Id: I0ce229ed2baf9ee77f9f649fc2115e0670aed38a
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Danny Lin <danny@kdrag0n.dev>
Change-Id: Ie8bb4b203f8d8a3395df92a1c8932e649f762737
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
abc ezio84: adapt to O, show volume panel with long press,
use full dnd (no interruptions) as silent mode
@ beanstown106: Sound Tile improvements
* added longpress action
* added more descriptive labels for each state instead of always saying sound
ezio84: Adapt for N
[ghostrider-reborn: misc improvements and cleanup]
Squashed commit of the following:
commit 69f86d9a38b5a942e3f9c914895ee45c0079e8e9
Author: maxwen <max.weninger@gmail.com>
Date: Fri Apr 13 03:32:51 2018 +0200
base: SystemUI: stop crashing qs tiles during boot
this triggers my ocd
continues a579c2430f1a0bf088023b4283dcec37776c070d
Change-Id: I31719b595cb50a330f26e25074243e04c06f63c1
Signed-off-by: xyyx <xyyx@mail.ru>
commit f419619c033fa99a809f53aa82dbdd7d6732177c
Author: xyyx <xyyx@mail.ru>
Date: Thu Sep 28 11:55:36 2017 +0800
SoundTile: Change ZEN_MODE_NO_INTERRUPTIONS to ZEN_MODE_ALARMS
Change-Id: I5edaaa4d551630049b29e09d3cecfb5ffd503e99
commit 916645271f57c47d60bb0a04c4e51776b51a18f1
Author: Yoshinori Hirano <yoshinori.hirano@sonymobile.com>
Date: Sun Sep 18 22:33:08 2016 +0200
Add Sound tile to Quick Settings
abc ezio84: adapt to O, show volume panel with long press,
use full dnd (no interruptions) as silent mode
@beanstown106: Sound Tile improvements
*added longpress action
*added more descriptive labels for each state instead of always saying sound
ezio84: Adapt for N
Change-Id: I46f4f8cc62683144a9bd714ca67e2a0f46940d96
Change-Id: I178bfa69ff181f0f65f94ffae1444aaea5f21a80
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Author: BestPig <bestpig82@gmail.com>
Date: Sun Feb 1 03:04:41 2015 +0100
SystemUI: add USB Tether tile
* Added vector drawables (blunden)
* Long click action changed to open Tethering options, in the same way
as Google does for Hotspot tile (bgcngm)
* USB Tethering enablement check refactored (bgcngm and luca020400)
Change-Id: Ic44f2b596fe32152f3f722347a855325c52113c6
Author: Gabriele M <moto.falcon.git@gmail.com>
Date: Fri Apr 27 20:51:42 2018 +0200
SystemUI: Toggle USB tethering only when USB is connected
Pressing the tile when unplugged causes USB tethering to turn on
as soon as the cable is connected. This can happen long after the
tile has been pressed, so don't do anything if unplugged.
Change-Id: Ib8bbdc758097ca7af5d4e7c3483c28ba42fb9ce1
[ghostrider-reborn] Updated for android 12
Change-Id: Ibbc0ba9de2cc3eee2a7f6a9c9f005730244f0b3a
Co-authored-by: Adithya <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
AKA refresh rate tile.
Thanks to WSTxda for the icon.
handleClick() logic inspired by Caffeine tile.
Change-Id: If95d751e01ad77b8afef6a16dce3c933cc95310e
- This matches the default behaviour for handheld where we
have a separate thread for windowing features
Bug: 241615227
Test: Verify with perfetto trace on SysUI startup
Change-Id: Ic0cc946263abe47d5384a4fee9c4d502350fd089
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This is required for the "touch to unlock anytime" setting on devices
with side mounted fingerprint sensor.
Ref: 66a048d646fd816e7757e300c62fa5cebf04761d
Change-Id: If3308860a428d9966f2b0a0024764df95f8f9a8b
We'll still use Android 12's unified internet settings and the Internet
tile by default, but expose the legacy Wi-Fi and cellular data tiles so
that users can add them with the QS customizer.
Change-Id: I65902b38c99f61782bd9aa0ea604848fbd068bda
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Creating individual modules will occur in other smaller CLs
Fixes: 237421018
Test: atest QSFactoryImplTest
Test: Built on device
Change-Id: Icd06663fd0a71fc013363fd9aaa8e2d32a08e7b4
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Based on Internet dialog code.
Change-Id: Iff63a49ff6a49c535b63a430bee8d7c55e78cbcc
Signed-off-by: Mesquita <mesquita@aospa.co>
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Otherwise, the DC Dimming tile does not appear because
res/values/config.xml points to a non-existent tile.
Change-Id: I704de0d6a1b65043fdbadab0008b767e606bd3bd
[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
* VolumeUI expects a VolumeDialogComponent to be injected, not a
VolumeComponent. Therefore, it takes it directly from the core
SystemUI and not from our provided implementation and as a result,
two different VolumeComponent instances are created which is not
intended.
Change-Id: I90cd1ccfc8a4dc79fbf402d1eb350bc98d1cfdad
On A13 Google has added two more options for onShowRequested,
being those keyguardLocked boolean and lockTaskModeState.
Signed-off-by: Hernán Castañón <herna@paranoidandroid.co>
Change-Id: I4707c909a1e61effd9ea3d1370fbdf2274fc3bf5
- 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