Age | Commit message (Collapse) | Author |
|
* please shut the fuck up EdgeTpuDeviceFactory
Change-Id: I2ef71a12e613bee7a01e27ae36f9b07a3b78e766
|
|
Change-Id: I442462c3d29542ad8f6c221eee7259c5b57dacfb
|
|
Change-Id: Ibd4e1feca43289bb066714c5ca1f6401f3c8ae31
|
|
The location indicator is frequently showed when wireless headsets
are connected, which disturbes a lot especially when watching videos
or playing games in landscape mode.
Change-Id: I94deddb62b5b48d3eee153880d40c1928e776ebc
Signed-off-by: LibXZR <i@xzr.moe>
|
|
* Thanks to beanstown106 for the initial longpress action calls in
PhoneWindowManager (improved by lineage guys)
* Remove the settings pref if the device doesn't have flashlight
* Vibrate when toggling torch to let the user know of unwanted toggling
in the pocket (even if vibration is disabled by user)
* Allow torch action also on ambient display
[AEX Edits] :
- Port to S
- simplify code
[mydongistiny]:
- Fixed for android10
[DennySPB] :
- base: ScreenOff torch: Allow to disable torch when screen is on
[mickaelmendes50] :
- Adapt to AOSPA
* We don't allow users to use the Double Press power option,
so remove the non used code.
* Removed "double press power to toggle torch"
* Removed "handle camera gesture here instead of extensions"
* Removed "Add 170ms delay for double tap action"
Change-Id: I12da044f86c7b625872607529cf8524615cf576b
|
|
Bring Forward Volume Rocker Track Change
Requires Settings Change
(packages/apps/Settings)
* rituj : AudioService: Allow volume-key long press even when screen is off
* mickaelmendes50 : Adapt to Android 11
* Drop previous changes of AudioService as, in theory, the event should
never reach it at all.
Change-Id: I70b00e08fe48707110725dd1daa56b1e48d15a03
Fix volume rocker skip track on Ambient Display and Lift to Wake
we need to check if dream service is dozing before checking
keyguard status
Change-Id: Ic3a6c830496188bb6edf27043cd24eb2d553bb82
Fix long press volume buttons skip tracks
Without that patch, the volume changes up or down prior
to skipping tracks because the sendvolumekeyevent doesn't
have the mayChangeVolume condition. Also, that part is
useless cause the mUseTvRouting condition is taken care
of correctly later.
Change-Id: I88757315f135f013e7692861d46b3a07fbfc07d5
|
|
Author: Jesse Chan <jc@lineageos.org>
Date: Tue Jun 2 13:59:52 2020 +0800
SystemUI: Set no hint overlay to highest priority
As overlays are also used to apply navigation mode, it is needed to set
our customization overlay to highest priority to ensure it is applied.
Change-Id: I41ca4b7ea99fea9f62d2e8ece5114f682e8e7fe9
Signed-off-by: Jesse Chan <jc@lineageos.org>
Change-Id: Ic6695dfe929db443f169d59f153e14a6de249590
Signed-off-by: Jesse Chan <jc@lineageos.org>
|
|
https://review.kaleidoscope.ink/c/1217
This reverts commit a6bd819ea9dad87ecfc79820498d7dc26c47aa3c.
Change-Id: I3dc864cbdc64ec92a082b5d70a8aed5e90e6555d
|
|
Co-authored-by: Edward Wu <bluehome.wu@gmail.com>
Change-Id: Ifbc21f7931e729ab8f2ad3924a2caaa46666ce7b
|
|
* Since google decided not to kill eyes of people with dark qs always but forgot to change the color in drawable of Brightnessbar elements. it was white colored.
before: https://imgur.com/OrW2p7d
after: https://imgur.com/7DV844t
* If you are using gapps (with google overlays) then no need of this else needed.
Signed-off-by: Harsh <harsh@project404.us>
Change-Id: I6fb3c53b383714269d2b9706a5580ba365404f0c
|
|
- Only update auto brightness one time when screen is turned on.
- Can be useful on devices where sensor is not accurate.
[jhonboy121]: adapt to 12
Change-Id: I5187fdb7765550d4eaa999317ab95f487d44c8d8
|
|
Some devices have volume buttons on left side and it not fancy if volume panel will be at right side.
You can override panel location using overlay for SystemUI:
<!-- Allow devices override audio panel location to the left side -->
<bool name="config_audioPanelOnLeftSide">true</bool>
Change-Id: If41456f71ffd18466166e7b4120ff34d9e6f5a46
|
|
* silly but it works
Change-Id: I0c32980b9380cd5fc8b8204440ea93d73c6aabc4
|
|
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.
also squashed with the following changes:
Author: Anushek Prasal <anushekprasal@gmail.com>
Date: Tue Nov 12 15:41:19 2019 +0530
[aospa][quartz] SystemUI: Improve alert slider dialog
- 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: I0dfb705843f52cdea470993d05a7bdedc10750f4
Author: Pranav Vashi <neobuddy89@gmail.com>
Date: Sun Feb 7 02:08:38 2021 +0530
[crdroid][11.0] AlertSlider: Prevent crash in case of incomplete broadcast
* In intent extra EXTRA_SLIDER_POSITION_VALUE is not received and slider is changed,
SystemUI will crash "No resource found". This patch should prevent such ice-cold havoc.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ifc21327f785959db2e7cb0d03e07c0b061dfd569
Author: idoybh <idoybh2@gmail.com>
Date: Sun Aug 8 15:49:16 2021 +0200
[crdroid][11.0] AlertSlider: check for existing dialog before creating new
Change-Id: I582586e54d25b668c5e51fcc92942b37bda4a014
Change-Id: Ie1954a44cc5242c95a731abd7404379ea638fe70
|
|
* Provide support for alert slider hardware.
* Provide ability to swap order of alert slider within system setting.
* Enable "config_hasAlertSlider" to true and define
proc nodes for state path and uevent match path.
* Contributors:
Sirhc95
ZVNexus
carlosavignano
thecrazyskull
Change-Id: I46f594923aedf3445ee9cecb16a90c4963f78a89
|
|
Author: Roman Birg <roman@cyngn.com>
Date: Sun Nov 23 06:54:06 2014 -0800
SystemUI: double tap to sleep improvements
* Make it more reliable
* Add it to keyguard
* Add a content observer to not always query Settings.System on every
touch event
Change-Id: I292c4d9d9f810843590b7a9ec6e15b99ac44009d
Signed-off-by: Roman Birg <roman@cyngn.com>
Author: Adnan Begovic <adnan@cyngn.com>
Date: Wed Nov 11 12:05:59 2015 -0800
fw: Move DOUBLE_TAP_SLEEP_GESTURE to CMSettings.
Change-Id: I8274b7c241cef6835a1114a702e68c95b6d2e036
Author: Zhao Wei Liew <zhaoweiliew@gmail.com>
Date: Fri Oct 7 08:56:25 2016 +0800
SystemUI: Use Tuner API for CM settings
Get rid of all the excess code by implementing TunerService.Tunable
and observing any changes made to the settings through it.
Remove UserContentObserver as the Tuner API handles user switches.
Also remove some unused imports that were introduced in earlier
CM commits, but were never removed since.
Change-Id: Iecafafabdaec82b3b3c72293bea865de48f0e90a
Author: Altaf-Mahdi <altaf.mahdi@gmail.com>
Date: Wed Nov 11 16:07:49 2015 -0500
Double tap to sleep anywhere on the lock screen [1/3]
Change-Id: I7dd46f3fafeb2e629974c0f32083d4d9774fb1de
[neo: Using Tuner API.]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Author: dianlujitao <dianlujitao@lineageos.org>
Date: Thu Feb 27 12:57:07 2020 +0800
SystemUI: Don't sleep on double tap below status bar
Change-Id: Ic64c29eae63e96f34dc37cda355401b7e2cd2d39
[Pig]: Forward port to R
[bgcngm]: Forward port to S
POSP edit: keep the lockscreen part only
also add dozing and ambient pulsing checks
Change-Id: I0281d23cb3ad5f8f2b67d08ae431e8a962a60927
|
|
[ghostrider-reborn]
- Stripped from commit "Port brightness slider changes" to
include only auto brightness icon, without runtime toggle
- Change button color depending on state
- Update off state icon from Amartya (@ yukiscape)
- Minor refinements
Original commit:
[SQUASH] SystemUI: Port brightness slider changes
Includes:
- Brightness slider on footer
- Auto brightness icon
- Dropped + - buttons
Squashed commit of the following:
Author: SagarMakhar <sagarmakhar@gmail.com>
Date: Sat Aug 21 13:26:11 2021 +0000
Quick QS brightness slider [1/2]
Change-Id: I34e3e470177f23c5deb9fd5187991d09b207576a
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: SagarMakhar <sagarmakhar@gmail.com>
Date: Thu Oct 8 19:49:58 2020 +0000
Fix brightness slider position after coming from landscape to portrait
- Fix toggle vs position behavior on first boot
- Fix position stucked in bottom after coming from landscape
Change-Id: I611b0643ba3b5eabd08f52f8ca3b6b6513ecda1e
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: maxwen <max.weninger@gmail.com>
Date: Mon Nov 19 12:37:01 2018 +0000
base: SystemUI: add tuner prefs for QS brightness buttons [1/2]
* Add option for showing Auto brightness icon
* Add option for showing brightness increase/decrease buttons
* Citrus-CAF edits:
Move options to CustomSquash
* Squashed commits from:
omnirom/android_frameworks_base@f26575a
omnirom/android_frameworks_base@0c49a08
omnirom/android_frameworks_base@0382757
* Wight554:
Add missing BrightnessDialog checks
Signed-off-by: Adarsh-MR <adarshmr1998@gmail.com>
Co-authored-by: Adarsh-MR <adarshmr1998@gmail.com>
Signed-off-by: Vol Zhdanov <wight554@gmail.com>
Signed-off-by: Shubham Singh <coolsks94@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Change-Id: Ie24ebcc0fc7c0bb98411c77b29a2bd427302cdff
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: ezio84 <brabus84@gmail.com>
Date: Tue Nov 20 23:51:33 2018 +0100
Refresh QS brightness icon and improve its touch area and padding
Signed-off-by: xyyx <xyyx@mail.ru>
Change-Id: I156940dd74df1f4bcdb5f407f1e702879821c326
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: Alex Cruz <alex@dirtyunicorns.com>
Date: Fri Nov 23 19:35:53 2018 +0100
Use brightness slider better values also for Settings brightness slider
Change-Id: I4914213e59dd73f621b1a093f07ee192c81806c5
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: ezio84 <brabus84@gmail.com>
Date: Thu Nov 22 22:33:10 2018 +0100
Brightness slider + - buttons: use more granular values
+ - 10 was too much, we have the slider to quickly switch from low
to high brightness or viceversa.
With + - 2 we also avoid unwanted too fast slider movements
Change-Id: I849956d75af37d47f6ab463a282bd4ad10098264
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: Alex Cruz <alex@dirtyunicorns.com>
Date: Thu Nov 15 23:16:45 2018 -0600
Multi-User fixes for brightness slider mod
Previously this wasn't working in guest mode or in any multi-
user accounts. While most don't care about this, this is just
janky for our stuff not to work in these situations.
Change-Id: Ic1ae93d2f4ccd023bd4ec4ed2b6edd9243f49e6a
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: Giuseppe Maggio <jertlokk@gmail.com>
Date: Wed Nov 14 04:22:01 2018 +0100
base: Adapt custom brightness actions from QSPanel to BrightnessDialog
This commit fixes the + and - controls under Settings > Display > Brightness.
Change-Id: I9f8bd62e51b05f5166135b58b3d112bf155d6fc5
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: ezio84 <brabus84@gmail.com>
Date: Mon Nov 12 22:10:15 2018 +0100
Bottom brightness slider fixes and improvements
- fix buttons for automatic mode
P brightness management is different from O, now we must send the
SCREEN_BRIGHTNESS value, then BrightnessUtils will convert it
and the controller will set the level according to the set brightness
mode
- use ImageButton instead of ImageView to avoid buttons scaling
when showing the brightness mirror
- use + and - as icons for the slider buttons
Change-Id: I1f7d35746e8907f1db202e6c13ac43e8a71aa043
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: PMS22 <pratham220399@gmail.com>
Date: Sun Apr 22 16:51:08 2018 +0000
Brightness slider: Vibrate after a long press
- A small haptic feedback after long pressing feels good
Change-Id: I1058bbcf24bbccaeeebb3f547905860552bd1131
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: PMS22 <prathams99@rediff.com>
Date: Sun May 13 05:56:11 2018 +0000
Brightness Buttons: Improve touch area
- With 537fba7 there could be more button area to be used. But by increasing the
width of the drawables, its possible
to use even more area.
Thanks to ezio84 for the new drawables (centered image in vector)
Change-Id: I7d18569d364f3e1f756a1935895c02aab7a2dc4d
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: ezio84 <brabus84@gmail.com>
Date: Wed Nov 8 11:36:53 2017 +0100k
Footer brightness slider: Rework and improvements
Change-Id: Ia2343d78b62323f9757ccb4b2ed740851791eef7
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: Alex Cruz <du.alexcruz@gmail.com>
Date: Sun Nov 5 21:16:22 2017 -0500
Make use of the brightness slider buttons
Introduced in the commit below were two buttons that were used to mirror
the Oxygen OS look. They did absolutely nothing until now.
https://github.com/DirtyUnicorns/android_frameworks_base/commit/7f567fde01da0d313d123d711afa915cb05e4ee8
This works in two ways, single clicks and long clicks
Single click = decreases and increases the brightness in intervals of 10
Long click = sets the brightness to low or high depending on which side you pick
- Check for auto brightness mode and disable it if enabled before performing actions
Thanks to xdnax, ezio84 and Thecrazyskull for the idea/suggestions
Change-Id: I3267439145a9d2bbc16cb6c55586a7403472381c
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: JBCDroid2 <jonathan.lyndo@outlook.com>
Date: Wed Nov 1 10:50:14 2017 -0400
Rework auto brightness implementation
Change-Id: I111501430dd143dac4b90667453b5ebee09d0bbb
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: jhenrique09 <jhenrique09.mcz@hotmail.com>
Date: Fri Oct 20 12:38:44 2017 -0200
Update paddings for Brightness control on footer
Change-Id: I1ab302f9e8740cb8a229182249fb46dc929a7fa2
Signed-off-by: Shubham Singh <coolsks94@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: SpiritCroc <spiritcroc@gmail.com>
Date: Mon Oct 31 10:55:05 2016 +0100
Fix automatic brightness QS toggle icon
Change-Id: Iedcc7b3f43f758664629bc66b12f22cff0059f8f
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: maxwen <max.weninger@gmail.com>
Date: Sun Jan 3 11:52:48 2016 +0530
Add auto brightness toggle to Quick Settings
- Not a new tile, just a small icon/toggle beside the brightness slider
Change-Id: I99a39156f931943e98d539a07046698c16361d07
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: maxwen <max.weninger@gmail.com>
Date: Tue Apr 3 18:10:05 2018 +0200
base: SystemUI: add pref for qs brightness slider position (1/2)
Change-Id: I5dfb7170b7d9f3328f9ab0a997135dc4db4cd3bf
Signed-off-by: xyyx <xyyx@mail.ru>
Signed-off-by: Shubham Singh <coolsks94@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Author: SagarMakhar <sagarmakhar@gmail.com>
Date: Sun Sep 15 18:15:58 2019 +0000
Revert "Remove unused auto brightness drawables."
This reverts commit 1f2484b2f790b2f1cd80bda12d75c263331314a6.
Signed-off-by: Arghya Chanda <arghyac35@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Change-Id: Ic2a9fe9f999c03be4e73be9ec8a923cea4970819
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Genkzsz11 <genkzsz11@gmail.com>
idoybh (YAAP): Removed stupid QQS slider
(It just takes it away form the thumb and serves no real purpose)
Also minor improvement to some code
Co-authored-by: maxwen <max.weninger@gmail.com>
Co-authored-by: ezio84 <brabus84@gmail.com>
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: I2b99460e31aad87a3cabbb19c61ed54f7817ff19
|
|
* Based on OnePlus' OxygenOS tile, reworked to work with AOSP toggling
without requirements on proprietary telephony-ext features.
* QS icons are designed and made by Andrew Fluck.
Co-authored-by: idoybh <idoybh2@gmail.com>
Co-authored-by: jhonboy121 <alfredmathew05@gmail.com>
Change-Id: Ie2e280c07f24f9da6b4ee218b72501a2713ce429
|
|
Author: Thecrazyskull <anaskarbila@gmail.com>
Date: Tue Jan 17 10:56:39 2017 -0600
SystemUI: Enable NFC tile
Change-Id: Ib21f927d336fcb5e460552786828b79551b235fa
Author: inthewaves <inthewaves@pm.me>
Date: Sun Sep 20 14:59:10 2020 -0700
have NfcTile get an NfcAdapter directly
This changes the NfcTile to not be dependent on an NfcManager giving the
NfcTile an NfcAdapter.
The problem with NfcTile is that the NfcService doesn't start until the
device is unlocked after a reboot, but NfcTile can be created and have
its state updated before the device is unlocked.
The state of NfcTile depends on an NfcAdapter. The tile gets an
NfcAdapter from a call to NfcAdapter#getDefaultAdapter, which gets an
adapter from an NfcManager via Context#getSystemService, and NfcManager
tries to get an adapter in its constructor via NfcAdapter#getNfcAdapter.
If this is done before unlock, NfcService isn't started, so the
constructor of NfcManager fails to get an adapter, opting to just store
null. This means that the NfcManager that's _cached_ by the NfcTile's
application context holds a null NfcAdapter, so subsequent calls in
NfcTile to get the NfcAdapter will keep returning null.
We can just have NfcTile get the NfcAdapter directly via
NfcAdapter#getNfcAdapter instead of relying on an NfcManager to call the
same method for us to get its default adapter. We just have to make sure
we use the application context for NfcAdapter#getNfcAdapter, as per the
doc comments for getNfcAdapter. This means that there's no longer an
NfcManager associated with the NfcTile's application context.
It doesn't look like NfcManager does anything special with the
NfcAdapter anyway. It seems to just be some middle man for NfcAdapters:
* The NfcAdapter field in NfcManager is final, and it doesn't do
anything else with it besides have a getter method for returning it. The
NfcManager seems to be a way to force third-party apps that want to get
an NfcAdapter to use the application context.
* NfcAdapter#getNfcAdapter manages the caching of NfcAdapters by
application context in a static HashMap. NfcManager doesn't manage
caching; it just calls NfcAdapter#getNfcAdapter.
Change-Id: Ifafc666568a001a60baf7c8c16782dca1ee4d011
Author: Michael W <baddaemon87@gmail.com>
Date: Fri Jan 15 00:03:02 2021 +0100
NfcTile: Don't create an error when editing tiles
Repro:
* Make sure no NfcTile is in your expanded QS (not tested what happens if
it's there)
* Hit the Edit-button:
Error in handleSetListeningInternal
java.lang.IllegalArgumentException: Receiver not registered: com.android.systemui.qs.tiles.NfcTile$1@7c00b87
at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1434)
at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1543)
at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:664)
at com.android.systemui.qs.tiles.NfcTile.handleSetListening(NfcTile.java:64)
at com.android.systemui.qs.tileimpl.QSTileImpl.handleSetListeningInternal(QSTileImpl.java:371)
at com.android.systemui.qs.tileimpl.QSTileImpl.access$700(QSTileImpl.java:80)
at com.android.systemui.qs.tileimpl.QSTileImpl$H.handleMessage(QSTileImpl.java:496)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.os.HandlerThread.run(HandlerThread.java:67)
* Only register or unregister the receiver if we actually need to change
registered-state
* Same code is in AirPlaneModeToggle.java, presumably was also added to
prevent unnecessary registering/unregistering
Change-Id: I6cd8f9bffccb68596b736cc0a3a38e9c12b9c489
Change-Id: Ia06b923ee15e91a9c84a806d4c69755478df2063
|
|
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
Change-Id: I5249106fea3518e8fa69990d1aa13c21cc542cb1
|
|
Squashed with:
Author: Adnan Begovic <adnan@cyngn.com>
Date: Fri Dec 11 16:16:02 2015 -0800
SystemUI: Readd AmbientDisplayTile.
Change-Id: Ie7b93ba0f87d505206b5d60f193c2234d83d7eac
Author: Michael Bestas <mkbestas@lineageos.org>
Date: Sun Sep 17 22:51:15 2017 +0300
SystemUI: Hide ambient display tile if device does not support it
* Add a check similar to the Settings app
Change-Id: I603cd28b8dd1fadff9ffcfb6953c7b72514b5857
Author: Luca Stefani <luca.stefani.ge1@gmail.com>
Date: Wed Mar 17 22:34:17 2021 +0100
SystemUI: AmbientTile: Don't hardcode display settings intent
Change-Id: Ifaa69c2f235b85ae847524c81f0ba59e2a51cf01
Author: Luca Stefani <luca.stefani.ge1@gmail.com>
Date: Wed Mar 17 22:37:04 2021 +0100
SystemUI: AmbientTile: Use SecureSetting to change doze setting
Change-Id: I7f004bcf45493130ad50faacb6e390cd640e53db
Author: LuK1337 <priv.luk@gmail.com>
Date: Wed Mar 17 22:40:49 2021 +0100
SystemUI: AmbientTile: Actually start using SecureSetting
Change-Id: I5d94f6d2e596dbc6b44ae4f30f479d335a067661
Author: Luca Stefani <luca.stefani.ge1@gmail.com>
Date: Thu Mar 18 10:51:54 2021 +0100
SystemUI: AmbientTile: Default the setting to 1
Change-Id: Idea9dda702fdbaa0e2836e7a2573aa57cf24449e
Change-Id: Iea339685f523016876f059052e66e97fd5170a81
|
|
Change-Id: I0e3cff73752c59d804dcec43b86524c2e8df4f57
|
|
Author: Keith Mok <kmok@cyngn.com>
Date: Thu Feb 4 11:10:22 2016 -0800
SystemUI: Add caffeine qs tile
Change-Id: I5d4aa97ae63fc0bcc40f0fa7d9305efbba091029
Author: chillger <alexander.loskutov@gmail.com>
Date: Fri May 22 13:16:00 2020 +0200
SystemUI: Long press Caffeine for infinite duration
Change-Id: Ic49539dcda6d7d6b1dab362eb8ec168d2ec65b07
Change-Id: I0b9a498285930cc397b7c4d20ddec3f447e6d332
|
|
As CL[1] that IMMS only invoke updateInputMethodTargetWindow when the
IME input target window changed, that caused somehow we can't clear
mImeInsetsFrozenUntilStartInput in ActivityRecord to make the activity
can receive IME insets correctly like when turning the screen off/on
and then unlocking the non-secure keyguard to back to the same app,
since the IME input target didn't changed.
Making sure IMMS side always invoke updateInputMethodTargetWindow to WM
to clear IME insets frozen state.
[1]: Id8a56c68a06a774ef12ba444fd9a368148ea4539
Fix: 205783849
Test: atest ActivityRecordTests#\
testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget
Merged-In: I796754992911b917a49fcd18f22019c1eecad908
Change-Id: I796754992911b917a49fcd18f22019c1eecad908
|
|
Change-Id: I25c6e60e9af286522adb1a41746baf2602f5f7b7
|
|
"LA.QSSI.12.0.r1-06100-qssi.0"
Change-Id: I1ed836ba1c8556d57d01dfe25ab86bda4264cc1e
|
|
Change-Id: I3146ea0eb9477129fa2e490fe9b149ad48ec0fba
|
|
Squashed commit of the following:
Author: palaych <palaych@arrowos.net>
Date: Sun Jan 16 22:00:54 2022 +0900
base: PixelPropsUtils: Update raven and redfin fp to January
Change-Id: I5c3664a3af1c4696e657f533f9c227b010867380
Author: Dobsgw <george.w.dobson@gmail.com>
Date: Sat Dec 4 11:32:22 2021 +0300
base: PixelPropsUtils: Whitelist Google Dialer
With Pixel Props, google dialer doesn't have it's default call recording option.
Whitelist dialer to get back call recording at the expense of monet support.
Change-Id: I52df29621ec5be1a5e75e15aee0852eddc0405a4
Author: jhenrique09 <jhsv09@gmail.com>
Date: Tue Nov 9 16:15:25 2021 -0300
base: PixelPropsUtils: Use redfin props for some apps
* Also cleanup code
Change-Id: I343bc4c23e8960604b63097403c6b91b13238a3a
Author: jhenrique09 <jhsv09@gmail.com>
Date: Tue Nov 23 13:42:44 2021 -0300
base: PixelPropsUtils: Whitelist GoogleCamera
Change-Id: I407759531cc76f03f6c60bc7cdc52c05c6ea6118
Author: Ratoriku <a1063021545@gmail.com>
Date: Tue Oct 26 18:15:05 2021 +0800
base: PixelPropsUtils: Switch to Build.VERSION.INCREMENTAL instead of DATE
* As per 5a820d08ac2a787c649072c28dc5798cb4d4ff6a
Change-Id: I3d8892252c325bb65fb722f1d4109f16df1f583c
Author: Ratoriku <a1063021545@gmail.com>
Date: Sat Oct 23 18:01:56 2021 +0800
base: PixelPropsUtils: Add Chrome into extra packages list
Signed-off-by: Ratoriku <a1063021545@gmail.com>
Change-Id: I09413e803287f00fbb56924edf6c73f9286d9cc7
Author: Danny Lin <danny@kdrag0n.dev>
Date: Mon Oct 11 20:00:44 2021 -0700
base: keystore: Block key attestation for SafetyNet
SafetyNet (part of Google Play Services) opportunistically uses
hardware-backed key attestation via KeyStore as a strong integrity
check. This causes SafetyNet to fail on custom ROMs because the verified
boot key and bootloader unlock state can be detected from attestation
certificates.
As a workaround, we can take advantage of the fact that SafetyNet's
usage of key attestation is opportunistic (i.e. falls back to basic
integrity checks if it fails) and prevent it from getting the
attestation certificate chain from KeyStore. This is done by checking
the stack for DroidGuard, which is the codename for SafetyNet, and
pretending that the device doesn't support key attestation.
Key attestation has only been blocked for SafetyNet specifically, as
Google Play Services and other apps have many valid reasons to use it.
For example, it appears to be involved in Google's mobile security key
ferature.
Change-Id: I5146439d47f42dc6231cb45c4dab9f61540056f6
Author: jhenrique09 <jhsv09@gmail.com>
Date: Wed Oct 13 11:31:51 2021 -0300
base: PixelPropsUtils: Rewrite logic
Change-Id: I300c3e1156ab4dcfcf76812b51a18206982ad0e8
Author: jhenrique09 <jhenrique09.mcz@hotmail.com>
Date: Thu Nov 19 20:46:32 2020 -0300
base: Introduce PixelPropsUtils
That will spoof build fingerprints on some g00gle apps
* Also will enable some cool stuffs like:
- Dynamic navbar on GBoard
- SafetyHub
and others.
Thanks to kdrag0n for the original idea at ProtonAOSP/android_frameworks_base@5a54bfd
Change-Id: I1078e7402833fec77edb751070c5144d08c85b6c
Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
Co-authored-by: Danny Lin <danny@kdrag0n.dev>
Change-Id: I2c3f51e3805d22003f479ecafbc4a15c4af259e5
|
|
I BoostFramework: BoostFramework() : Exception_1 = perfGetHalVer not supported
Change-Id: I288427996758233e1de02610802c7df7081821e6
|
|
"LA.QSSI.12.0.r1-05800.02-qssi.0"
Change-Id: I509f84ca4d65d83580cf34d7ea9a5b4120a8b9c7
|
|
AOSP's Temperature->Color conversion is off (or at least, doesn't line up with cf.lumen),
so let's lower the minimum temp to give users more choice.
Change-Id: If69f93176078bcbf25c2d58cd8a21a2e0c0734de
Signed-off-by: Joe Maples <joe@frap129.org>
|
|
This reverts commit f92acf79616d81d018ba04ce9e1ccfdd5d42ea5e.
Reason for revert: 10s takes too long ;)
Change-Id: I76f4a4d111d41352aa800ab5f1819d1cb1d02912
|
|
This reverts commit 7fdb80725c64277d7a84bff1a33cda8d69cac99e.
Reason for revert: ¿
Change-Id: I943669679c54ec341dfb4309821cfb137cab4736
|
|
Change-Id: I5cc503fe4edfdd717bd854359d0d88db1a75a0f9
|
|
hotswapping""
|
|
This reverts commit 10ca00b7d3fee0984cc6b63b8507627fbff08c4b.
Change-Id: I5befe96fa45428aa25bc6cfd0c2d642db7d91e64
CRs-Fixed: 3106834
|
|
* Will google ever learn from their mistakes?
Change-Id: I39e0dd89b53244e1458c87648af50439348fa150
|
|
Casting the intent to dismissIntent may fail when the intent itself
is null, possibly because the dismiss_intent from getParcelable
does not always exist.
E/AndroidRuntime( 2456): java.lang.NullPointerException: null cannot be cast to non-null type android.content.Intent
E/AndroidRuntime( 2456): at java.util.Objects.requireNonNull(Objects.java:245)
E/AndroidRuntime( 2456): at com.android.systemui.media.MediaDataManager.toSmartspaceMediaData(MediaDataManager.kt:889)
E/AndroidRuntime( 2456): at com.android.systemui.media.MediaDataManager.onSmartspaceTargetsUpdated(MediaDataManager.kt:747)
...
Therefore, use the safe cast operator [1], so the cast returns null
on failure, which avoids NPE. SmartspaceMediaData data class
allows dismissIntent to be nullable.
Test: SystemUI no longer crashes when connecting to certain BT
devices or wired headphones
[1] https://kotlinlang.org/docs/typecasts.html#safe-nullable-cast-operator
Change-Id: I3e7f08dfece5eccecf32adb4042ad76fe0405446
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
|
|
When empty the usap pool, the usap processes may be blocked by
usapPoolSocket.accept(), which cause the usap process fail to kill
immediately. So we can move the position of blockSigTerm after
usapPoolsSocket.accept() and delele the old blockSigTerm in the while
loop.
Test: manual test.
1.setprop persist.device_config.runtime_native.usap_pool_enabled true.
After 1 min, trigger fill usap pools.
2.setprop persist.device_config.runtime_native.usap_pool_enabled false.
After 1 min, trigger empty usap pools.
3.repeat step 1.
Signed-off-by: zhangjianqiu <zhangjianqiu@oppo.com>
Change-Id: I657940b30f71cdc717c673be6d70738e61e2bb68
|
|
Change-Id: Ifa58336abc264571ee307e3c2d69d3c294e2d8c3
|
|
06-21 14:39:46.546 30816 30816 E AndroidRuntime: FATAL EXCEPTION: main
06-21 14:39:46.546 30816 30816 E AndroidRuntime: Process: com.android.settings, PID: 30816
06-21 14:39:46.546 30816 30816 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.VelocityTracker.clear()' on a null object reference
Change-Id: I415fc2e85bcdbe694f1d3a1bd76d1462fc8db78b
|
|
AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.preference.Preference.setOnPreferenceChangeListener(android.support.v7.preference.Preference$OnPreferenceChangeListener)' on a null object reference
Change-Id: I6fbea9ec97a1506b707822cdb83469fea8211749
|
|
Add a null pointer check to avoid crash when customizing quick settings
in systemui.
CRs-Fixed: 1094610
Change-Id: I03eaaaeeb8bbf7fbc91ca09eb16dd1ab559d2d6f
|
|
when 3rd party app put an extra with a bad serial object
to start a service or sendbroadcast to system_server.
It will cause system_server crash because of
classNotFoundException.
A test demo apk will cause system_server crash.
It really affact the system stability
Intent intent = new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS);
intent.putExtra(Intent.EXTRA_REFERRER, new serial()
/*a Serializable class object*/);
sendBroadcast(intent);
Test: use the test apk attached in the issue below, system_server will
crash every time. And it'll be OK with this CL.
https://code.google.com/p/android/issues/detail?id=261031
Change-Id: Id505571dcbf88c0ba9c1677ec0f1f08688c1bb95
Signed-off-by: yangbingqian <bqyang720@gmail.com>
|
|
Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.
This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.
Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)
Change-Id: Iad52a35120212c871ffd35df6184aeb678ee44aa
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
|
|
F-Droid is currently building app packages with v1 signatures, even if
they target API 30 or newer.
Change-Id: I42180acc3b3fb28f073f4c19c2cffb44cba4f221
|
|
* Since we usually ship "userdebug" builds, it is better to globally
disable the toast because we are not in control of third-party apps
that haven't been properly aligned with new Oreo requirements.
* Leave it enabled by default only for "eng" builds.
Change-Id: If0c74bcd03de2b664794e5855c2aaceb5c633b6c
|
|
Change-Id: Ice1bab5f3d1b3a15f20085cfb7f5578c7f70855a
|
|
* Causes much logspam, especially when using Clash/Shadowsocks
because notification is updated every second.
Test: m, no logspam anymore
Change-Id: Ibe2db6afa18ebc68032730d81c29fb4cfaf8601f
|
|
* App would be killed once limit reached, this is really bad for users.
Change-Id: I226a7a34031c9e9d8bf6843c22d79e72203bf867
|