Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ws from 8.11.0 to 8.18.1 in /packages/SystemUI/scripts/token_alignment #49

Open
wants to merge 377 commits into
base: fifteen
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
377 commits
Select commit Hold shift + click to select a range
2b79a62
SystemUI: doze: add config for double tap sensors that need a proximi…
Demon000 Jun 27, 2022
c797922
SystemUI: doze: add config for long press sensors that need a proximi…
Demon000 Jun 27, 2022
d3b776f
DozeSensors: only use proximity sensor if supported
Demon000 Apr 6, 2020
03156db
SystemUI: handle camera launch gesture from keyhandler
romanbb Feb 5, 2016
aeb7665
base: SystemUI: Allow flags to be overrideable
jro1979oliver Jun 17, 2022
f22590b
Add 5G Ultra Wideband icon carrier config keys
May 18, 2022
5f99ab4
Fix default values for 5G Ultra Wideband icon carrier config keys
Jun 22, 2022
f5bbd4c
SystemUI: Update QS header fields text appearance on theme change
Dhina17 May 28, 2024
bbcadc9
base: Introduce PowerOffAlarmService
idoybh Apr 15, 2023
2387d70
PowerOffAlarmService: Handle NPE with shared preferences
adithya2306 Sep 15, 2023
12ee0ff
core: BatteryManager: Add few more Battery broadcast intents
imjyotiraditya Feb 22, 2024
bdaafd7
SystemServer: only enable fd leak tracker on eng
Dec 28, 2019
e90b099
AutofillManager: Make userdebug default to NO_LOGGING
luk1337 Sep 16, 2023
32dc8e0
SystemUI: Enable cast tile without Wi-Fi connection
nift4 Apr 29, 2023
ea4eeb0
SystemUI: Make battery clickable again
BadDaemon Apr 2, 2023
e5b2921
Apply monet to fingerprint authentication ripple animation
SagarMakhar Dec 31, 2021
7bab8e8
SystemUI: Allow user to add/remove QS with one click
andrzejressel Aug 8, 2017
eba2852
SystemUI: Update string for add tiles with one click
mydongistiny Sep 1, 2018
60a6305
SystemUI: Fix uneven DND icon padding in status bar
idoybh Oct 8, 2020
c3e0214
Report success on every fingerprint removal
kishan-93 Jul 10, 2023
c61d09b
SystemUI: Implement Reverse-engineered Smartspace
djchittoor Jul 20, 2022
1456f9f
SystemUI: smartspace: Adapt for 14 QPR2
aswin7469 Mar 17, 2024
72bd72c
SystemUI: Adapt Smartspace A15-QPR1
clarencelol Dec 11, 2024
0251cca
SystemUI: Grant additional permissions for smartspace
xNombre Mar 8, 2022
3981ce8
SystemUI: support black theme for dark mode [1/3]
jesec Jun 18, 2023
8fc1d87
base: Update some icons to MD2
SKULSHADY Sep 23, 2019
30fbdeb
core: Broadcast intent when display power state changes
adithya2306 Nov 25, 2023
83c3786
SystemUI: Introduce Adaptive Playback [1/2]
imjyotiraditya Oct 30, 2020
5a9aa1a
[SQUASH] base: Add option to cycle through ringer modes [1/2]
ritujb Sep 3, 2022
d7c1697
base: Add three-fingers-swipe to screenshot [1/2]
ghbhaha Aug 8, 2015
699da32
base: Introduce Smart 5G service [1/2]
adithya2306 Jun 15, 2023
5676271
base: Long press power button to toggle flashlight [1/2]
ezio84 Oct 21, 2021
92e08ac
policy: Add support for device alert sliders.
May 15, 2018
8603ffc
SystemUI: Add navbar layout inversion tuning [1/2]
luk1337 Sep 20, 2019
6e3ca35
core: Fix menu popup ripple
timjosten Jun 27, 2022
abaf366
SystemUI: Update NFC tile drawable
mydongistiny Aug 31, 2018
855a54b
SystemUI: Enable NFC tile
timschumi Sep 8, 2019
b3db0b3
SystemUI: Add caffeine QS tile
Nov 10, 2020
8f6b0e5
SystemUI: Introduce Data Switch QS Tile
Myself5 Nov 26, 2019
f459742
SystemUI: Restore wifi and cellular QS tiles
mikeNG Mar 25, 2024
42eab5d
Reapply "SystemUI: Allow Wi-Fi/cell tiles to co-exist with provider m…
kdrag0n Mar 25, 2024
293ce95
Revert "[DO NOT MERGE] Make sure WiFi and Cell tiles are not created …
kdrag0n Nov 2, 2021
16090d8
SystemUI: Add heads up tile
mikeNG Apr 21, 2015
ddce14e
SystemUI: Add AOD QS tile
darkobas Apr 18, 2018
ceaa365
SystemUI: Add USB Tether tile
BestPig Feb 1, 2015
08a2b87
SystemUI: Add powershare QS tile
Linux4 Apr 20, 2020
b5b4aa7
SystemUI: Add Autobrightness tile
Dil3mm4 May 4, 2022
8dcb225
SystemUI: Implement hide gestural navigation hint bar
jesec May 19, 2020
c8097bc
fixup! SystemUI: Implement hide gestural navigation hint bar
Dhina17 Mar 3, 2024
00e6886
SystemUI: MediaHierarchyManager: Initiate allowMediaPlayerOnLockScreen
idoybh Apr 5, 2024
cde6c75
SystemUI: Show big keyguard clock when media controls are hidden
idoybh Apr 3, 2024
e84ce9f
base: Hide power menu on secure lockscreen [1/2]
Altaf-Mahdi Oct 24, 2015
3aa38af
base: Fix disabling power menu completely on secured lockscreen
neobuddy89 Jan 29, 2023
458fc93
SystemUI: Launch power menu from QS only if enabled
DarkJoker360 Aug 18, 2023
2cd83ea
Forward port CM Screen Security settings [1/2]
mikeNG Apr 3, 2015
552b621
fixup! Forward port CM Screen Security settings (1/2)
luk1337 Dec 15, 2024
288290d
LockPatternView: Fix showing pattern error
Dhina17 Feb 14, 2024
7805a16
Keyguard: Add option to scramble pin layout when unlocking [2/2]
Jun 18, 2023
66ec5cc
base: Squash import NetworkTraffic
Haus1 Jan 4, 2017
b46e1b0
NetworkPolicyManagerService: turn this into just a warning
xdevs23 Feb 20, 2021
9cb8fe6
base: Incall vibration options [1/3]
Beanstown Sep 5, 2017
f4de896
SystemUI: Remove nav bar background in QS customizer
kdrag0n Oct 12, 2021
330c1eb
fw/b: Add capability to allow tethering to use VPN upstreams
sam3000 Jan 2, 2022
dbfaeb8
AutoBrightness: Add support for one shot auto-brightness
bellegarde-c May 13, 2021
0f6e007
SystemUI: Add double tap to sleep gesture
Rashed97 Oct 3, 2017
9682702
fixup! SystemUI: Add double tap to sleep gesture
chirayudesai Mar 6, 2024
dcda036
core: Allow to hide and set a default for status bar DT2S gesture
bgcngm Oct 2, 2023
395b2cb
SystemUI: use DOUBLE_TAP_TO_WAKE setting also for wake from aod
maxwen Nov 17, 2019
4e8dfa2
base: Forward Port Volume Long Press Skip Tracks [1/2]
Oct 28, 2020
399026d
Support enforcing a minimum delay between notification sounds of an app.
maniac103 Oct 19, 2016
ae3c39b
core: Fix uninitialized settings in NotificationAttentionHelper
luk1337 Aug 15, 2024
eab4e26
Configurable 0, 90, 180 and 270 degree rotation [1/2]
rmcc Nov 4, 2013
e460d27
SystemUI: Fix suspicious spaces around new mobile icons
Apr 27, 2024
ca24040
NightLight: Allow lower temperatures
Aug 27, 2017
4d23f90
UI: Follow Monet and light/dark theme in user 1 icon
AndyCGYan Oct 2, 2022
1a21265
Make all activities resizable
AndyCGYan Mar 17, 2018
b936b30
core: res: Use accent color for progress bar background
kdrag0n Oct 13, 2022
2d9537b
base: Allow showing Ambient instead of fully waking [1/2]
ezio84 Apr 11, 2023
984a1ae
base: Allow setting wake for notifications separately from doze [1/2]
idoybh Jan 6, 2023
cf250c2
ShutdownThread: Shorten wait time for shutdown time optimization
Aug 2, 2017
5073e43
services: Fix crash of boot-time info dialog due to delayed font init
muhomorr Jun 13, 2024
8de78d8
SystemUI: Update Bluetooth battery level assets
Herna1994 Oct 1, 2019
593cc96
Flags: Enable color fidelity
aswin7469 Dec 7, 2023
d871e54
SystemUI: Do not duplicate SPN and PLMN in network name
adithya2306 Jan 6, 2024
eb0774f
StatusBarIconController: Don't crash at boot
idoybh Sep 28, 2024
ee1dbe9
SystemUI: Hide more tuner preferences on production builds
kdrag0n Jun 8, 2021
3ab9859
SystemUI: Don't show tuner warning
kdrag0n Jun 8, 2021
91ad122
SystemUI: Adapt tuner prefs to S settings style
SagarMakhar Oct 21, 2021
c88c558
SystemUI: Status bar tuner improvements
Rashed97 Oct 19, 2017
3c12465
base: Initial SenseProvider for FaceSense service
Sirhc95 Nov 25, 2023
b4640b3
services: Adapt face sense to A15-QPR1
rayavanindra Dec 13, 2024
5c9b1fa
FaceService: Conditionally add ParanoidSense
someone5678 Jan 8, 2024
9b7cf49
services: Force load FaceSense providers
neobuddy89 Oct 14, 2024
fab380f
SystemUI: Disable FaceUnlock Lockouts
minaripenguin Apr 28, 2024
d40cce7
SystemUI: Implement face unlock recognition animation and text
minaripenguin Nov 30, 2023
719b1ca
SystemUI: Use proper tint for face unlock icon
neobuddy89 Dec 3, 2023
a371bea
SystemUI: biometrics: Follow user setting to confirm face unlock
neobuddy89 Jan 6, 2024
dde4a55
SystemUI: Implement bouncer face unlock animation
minaripenguin Dec 17, 2023
9fcae91
BiometricScheduler: Cancel operation if not idle
SagarMakhar Aug 17, 2022
543d7f0
ThemeOverlayController: Don't enable neutral overlay when we use dark bg
idoybh Dec 1, 2022
cb09027
ThemeOverlayController: Ensure we always disable the neutral overlay
neobuddy89 Sep 28, 2024
c2e80e0
Merge changes for launching wifidisplay from system settings
Mar 23, 2018
1199bbf
WifiDisplayController: handle preexisting p2p connection status
Jul 19, 2018
020a64e
WiredAccessoryManager: Add support for DisplayPort Audio
Aug 3, 2017
74c400a
WiredAccessoryManager: update extcon file paths
Apr 25, 2018
9285b62
WiredAccessoryManager: Support for multiple extconn devices
May 8, 2018
59921ed
audio: update WiredAccessoryManager to use ExtconUEventObserver based…
Apr 29, 2019
f5d2378
WiredAccessoryManager: support for multiple display ports
Jul 16, 2019
6a973b7
WiredAccessoryManager: Update display port device index
Jun 17, 2021
528e76d
WiredAccessoryManager: use dev index from UEventInfo to form devPath
Jul 16, 2021
bd3e714
WiredAccessoryManager: Update stream index assignment
Jul 31, 2021
02082af
Force using WiredAccessoryObserver for DisplayPort
Mar 29, 2022
ff1cb01
WiredAccessoryManager: support for DP/HDMI display on soc:qcom,msm-ex…
May 10, 2023
ed7e7e4
BrightnessUtils: Conditionally use low gamma implementation for brigh…
SagarMakhar Jan 16, 2022
a44add8
udfps: Restore illumination dot for global hbm
ArianK16a Aug 20, 2022
b5f1c1b
udfps: Make pressed udfps view configurable
TheScarastic Nov 1, 2024
67bc163
SystemUI: Don't require AOD for screen off UDFPS
luk1337 Jun 22, 2023
174a72b
fixup! ThemeOverlayController: Ensure we always disable the neutral o…
luca020400 Nov 4, 2024
af88d05
SystemUI: Add support for udfps dim layer
pjgowtham Oct 15, 2024
1aa6925
Make default permissions updates tied to version incremental
luca020400 Nov 18, 2024
378f5ae
SurfaceControl: add more window types to consider NoVote
gotenksIN Aug 5, 2024
3421b12
base: Add support for window ignore secure [1/2]
libxzr Mar 18, 2022
660dddd
fixup! base: Add support for window ignore secure [1/2]
someone5678 Jun 26, 2024
7501eee
base: Rework lock gesture feature
cjh1249131356 Jun 2, 2022
0b0c399
base: Implement cutout force full screen [1/2]
jhenrique09 Jan 18, 2022
25eec08
SystemUI: Adapt screenshot sound to ringer modes
Ashwin4RC May 27, 2020
b196c74
SystemUI: Cleanup screenshot sound/vibration logic
adithya2306 Jan 14, 2024
a4ef290
SystemUI: Reduce screenshot dismiss delay to 3 seconds
kdrag0n Oct 6, 2021
c455669
SystemUI: Dismiss screenshot window on touch outside
libxzr Apr 8, 2022
080f037
SystemUI: screenshot: Hide action chips text labels
idoybh Sep 25, 2024
68675a4
base: Allow disabling turbulence noise after clicking the play button
idoybh Oct 3, 2024
c768a8d
fixup! base: Allow disabling turbulence noise after clicking the play…
idoybh Dec 17, 2024
22c610a
SystemUI: screenshot: Add delete action chip intent
ganeshi4u Oct 19, 2020
619b099
fixup! SystemUI: screenshot: Add delete action chip intent
idoybh Sep 26, 2024
f265512
fixup! SystemUI: screenshot: Add delete action chip intent
luk1337 Dec 15, 2024
dad7c0c
Implement click to take partial screenshot [1/3]
jesec May 17, 2020
7beee52
SystemUI: screenshot: open long screenshot activity for partial scree…
Demon000 Jun 23, 2022
edff21c
SystemUI: screenshot: remove duplicate clamping on move action
Demon000 Jun 26, 2022
9130dbc
SystemUI: screenshot: add extra crop boundaries
Demon000 Jun 25, 2022
e69999b
SystemUI: screenshot: disable magnification for partial screenshots
Demon000 Jun 25, 2022
73d933d
SystemUI: screenshot: close QS after launching long screenshot activity
luk1337 Jun 26, 2022
a8aa07e
SystemUI: Let screenshot window ignore screen decorations
luk1337 May 1, 2022
3874d48
base: PowerMenu advanced reboot options
adithya2306 Apr 10, 2024
a76a1d6
SystemUI: Make advanced reboot optional
adithya2306 Nov 9, 2022
2043dc1
SystemUI: Hide advanced reboot options on keyguard
adithya2306 Mar 14, 2023
d266abd
SystemUI: Update advanced reboot icons
GustavoMends Jul 4, 2023
edfcaa0
base: Make PowerOffAlarmService opt-in
idoybh Aug 25, 2024
002b09a
ExifInterface: do not spam stacktrace on invalid format
makinbacon21 Dec 10, 2024
016d139
pm: aconfig: do not error on flags missing per partition
makinbacon21 Nov 23, 2024
f0659a3
fixup! Add high touch sensitivity and hovering to InputService
chirayudesai Dec 11, 2024
01ca04b
fixup! Introduce high touch polling rate feature control
mikeNG Dec 27, 2024
70894f8
PropImitationHooks: Simplify tablet spoofing
bheatleyyy Dec 29, 2024
0eb0801
fixup! base: Allow disabling refresh rate lowering in battery saver
kawaaii Dec 30, 2024
0bca44a
SystemUI: Redraw display cutout on overlay changes
adithya2306 Mar 4, 2021
84fed64
power: Respect global vibration setting for charging sounds
mikeNG Aug 10, 2019
87edd88
power: Keep file scheme when not using content URI
aviraxp May 27, 2020
0b17340
power: Extend custom charging sounds
bgcngm Jun 5, 2021
1be40d7
SystemUI: Use AVCProfileMain for screen recorder
arco Nov 5, 2020
79614d6
Don't fail setDeviceConnectionState if not implemented in hal
webgeek1234 Mar 2, 2023
a035e3e
pm: actually check fs verity support
makinbacon21 Oct 3, 2024
25bddd3
Enable FLAG_SECURE for userdebug builds as well on keyguard
danascape Feb 4, 2024
ee5010f
Set alert dialog message to use system font
maxwen Jan 16, 2020
dc1f2ba
Use getPackagesForOps instead of iterating packages by checkOperation
Dec 22, 2022
f7668d1
SystemUI: Fix double unlock sound issue
timjosten Jun 23, 2022
8e391df
SQLite: Do integrity_check only once
yongiljangLG Mar 4, 2014
97b083c
SQLiteDatabase: Catch corrupt exception during transaction
Nov 7, 2013
3241954
Correction in logic of roundend size calculation of SD card
Jul 24, 2019
842c549
SettingsLib: Migrate MainSwitchPreference to Material3
bgcngm Mar 25, 2024
541e53c
ThemedResourceCache: Replace ArrayMap with HashMap for performance
kdrag0n Mar 25, 2021
ab64fae
SystemServiceRegistry: Replace ArrayMap with HashMap for performance
kdrag0n Apr 6, 2021
4998330
EventLog: Optimize writeEventArray for performance
minaripenguin May 19, 2023
f3129af
Textutils: Optimize writeToParcel for performance
minaripenguin May 21, 2023
ee4857c
LayoutInflater: Opportunistically create views directly for performance
kdrag0n Apr 6, 2021
a81bad3
base: set scrolling friction to 0.006f
xboxfanj Oct 14, 2016
52b60bc
ViewConfiguration: Set scroll friction to 0.012
TheCrazyLex Mar 16, 2017
cfc186c
wm: QC-like gesture fling boost
nift4 Apr 30, 2023
0503a09
Biometrics: Allow disabling of fingerprint cleanups
jhenrique09 Oct 14, 2022
0708276
SystemUI: Update UdfpsTouchOverlay sensorRect on updating overlay params
Dhina17 Dec 4, 2024
e326960
base: Import crowdin config
whyredfire Jan 6, 2025
4e6ae05
Merge tag 'android-15.0.0_r10' into fifteen-qpr1
kawaaii Jan 8, 2025
3717337
Revert "power: Extend custom charging sounds"
kawaaii Jan 9, 2025
ab2e7fb
base: Decouple charging control and main logic
hellobbn Feb 23, 2024
d2a1c4d
BatteryService: Add support for oem fast charger detection
amartinz Aug 25, 2017
070e70b
VolumeDialogImpl: Don't vibrate when volume dialog is not visible
luk1337 Mar 22, 2021
4989c4d
VolumeDialogImpl: Fix cut layout when on setup or lock task mode
jhenrique09 Apr 7, 2022
6f47049
VolumeDialogImpl: Drop unnecessary layout gravity defines and handle …
ArianK16a Nov 7, 2023
723a68c
VolumeDialogImpl: Set touchable region properly for left gravity
ArianK16a Nov 7, 2023
a084cce
VolumeDialogImpl: Respect left gravity in ringer drawer
ArianK16a Nov 7, 2023
2fe5aef
VolumeDialogImpl: Handle the outmost row with respect to left gravity
ArianK16a Nov 7, 2023
932bba1
VolumeDialogImpl: Ignore external layout direction changes
danielml3 Jan 27, 2024
2a7ca37
base: support per-app volume [2/3]
cjybyjk Sep 5, 2022
2eb8a67
base: make per-app work with multi audio focus
eldainosor Aug 3, 2022
afc4ca1
SystemUI: Update per-app volume icon
yukiscape Jul 19, 2024
bced8d1
SystemUI: VolumeDialog: Fix per-app volume on secondary users
Dhina17 Jun 13, 2024
21eea45
core: Expose method to toggle recent apps through Binder
someone5678 Jan 14, 2025
3c1205b
PropImitationHooks: Allow user to disable prop imitation
imjyotiraditya Aug 7, 2024
b418ea6
Add some fwb stubs from Oplus
DennySPB Feb 9, 2024
24210fd
OplusTypeCastingHelper: update stub
arnodorian-r Nov 8, 2024
9c90b4f
SystemUI: Introduce Flashlight Strength Tile
anayw2001 May 10, 2024
4a7de77
FlashlightStrengthTile: Do NOT leak CameraManager TorchCallback
idoybh Jan 29, 2025
a40ca04
SystemUI: SmartspaceSection: Build decoupled views only when required
neobuddy89 Jan 5, 2025
42a3693
SystemUI: Fix smartspace layout
neobuddy89 Jan 8, 2025
84fb266
SystemUI: Fix constraints for keyguard slice view
luk1337 Dec 28, 2024
7c34370
SystemUI: Don't remove keyguard slice view
luk1337 Dec 28, 2024
a61c3e7
fixup! SystemUI: Fix constraints for keyguard slice view
luk1337 Jan 2, 2025
8938efb
Merge tag 'android-15.0.0_r17' into fifteen
whyredfire Feb 5, 2025
37ea1b6
Add setting to allow/disallow interacting with quick settings on secu…
Uldiniad Apr 19, 2021
78fdfc1
SystemUI: Nuke oriented navbar handle
idoybh Mar 19, 2022
b3426f3
PIHooks: Add a system prop to enable debug logs
adithya2306 Dec 2, 2023
bdb395a
FaceSense: Vibrate on successful authentication
adithya2306 Dec 31, 2023
d86eafb
SystemUI: Constrain keyguard indication area burn-in offset
adithya2306 Dec 24, 2024
25a89d6
SystemUI: Add DOUBLE_TAP_TO_WAKE to tuner service reset exceptions
luk1337 Feb 5, 2025
40e9237
SystemUI: require unlocking to use QS tiles
muhomorr Mar 11, 2024
524205f
s2ss: Remove property usage
libxzr Mar 8, 2022
73fe564
SystemUI: Fix Internet Tile showing no service
t-m-w Jul 2, 2024
3b5c028
FlashlightStrengthTile: Move torch strength percentage to description
kawaaii Feb 12, 2025
a5178d7
Revert "AudioService: do not log sound effects in audio dumpsys"
jro1979oliver May 16, 2023
f261a5d
BluetoothControllerImpl: Synchronize mConnectedDevices access
jhonboy121 Mar 18, 2022
ffa65d0
BluetoothControllerImpl: fetch battery level from any device
jhonboy121 Mar 22, 2022
cbf4929
BluetoothControllerImpl: Optimize connected battery level scanning
minaripenguin Sep 3, 2023
8838da5
SystemUI: Fix burn-in translations not applying to keyguard slices
AndyCGYan Jan 18, 2025
14b590f
New Crowdin updates (#1)
whyredfire Feb 13, 2025
e8c08e5
Revert "VolumeDialogImpl: Ignore external layout direction changes"
kawaaii Feb 13, 2025
0192e10
SystemUI: volume dialog: Align padding/margin for left and right
ArianK16a Nov 7, 2023
d17c5d3
SystemUI: Fix flashlight strength tile in secondary user
adithya2306 Feb 11, 2025
a04e0c9
SystemUI: Fix QS customizer corner radius
neobuddy89 Aug 29, 2022
ef03a9e
webkit: SystemImpl: Make systemIsDebuggable() check IS_ENG as well
luk1337 Jun 28, 2020
5ecd561
CachedAppOptimizer : Pageout File pages during system compaction
Dec 28, 2022
8b0a400
base: Export bodyFontFamily and bodyFontFamilyMedium symbols
neobuddy89 Oct 7, 2020
b521079
camera2: allow access to CaptureRequest.mLogicalCameraSettings
Demon000 Jul 26, 2024
682b69d
SystemUI: Check whether the selected WFD route is available
WeijieWanng Sep 20, 2022
67b7fa9
Revert "DeviceIdleJobsController: don't ignore whitelisted system apps"
kawaaii Feb 13, 2025
4466573
JobScheduler: Respect allow-in-power-save perm
t-m-w Mar 13, 2023
5eaf9dd
FingerprintUtils: Migrate old fp config xml to new one on HIDL/AIDL s…
hellobbn Feb 11, 2025
355eb85
health: Format notification's target time according to locale
nabijaczleweli Feb 15, 2025
9b5db9a
health: Rename msToUTCString to msToHMSString
hellobbn Feb 16, 2025
06ebc35
health: Catch all setCharging*() exceptions
luk1337 Feb 24, 2025
c41f600
SystemUI: CastTile: Open cast settings on long click
idoybh Jul 12, 2022
b2e1fbd
(Point) Only calculate sin and cos once
nyancrimew Aug 24, 2018
71a1ade
Cache KeyStoreService
nyancrimew Jun 5, 2018
e4b8f08
Cache pin algorithms in PinSet
nyancrimew Jun 4, 2018
0ff1b77
core: PinSet: Fixup and improve algorithms caching
jhonboy121 Oct 29, 2021
416d3ba
SystemUI: React to PrivacyConfig changes properly
t-m-w May 8, 2023
34e0ced
SystemUI: Implement burn-in protection for status/navbar
arter97 Oct 9, 2021
fcd2ca4
SystemUI: Disable animations during biometric wake-and-unlock
adithya2306 Jan 7, 2024
6e14c5c
SystemUI: Turn on the display briefly when resuming AOD
adithya2306 Feb 13, 2025
8cb6797
SystemUI: Implement Split notification shade changes
minaripenguin May 12, 2023
39cbdf8
Revert "BrightnessUtils: Conditionally use low gamma implementation f…
kawaaii Mar 1, 2025
2aada62
BrightnessUtils: Conditionally disable gamma conversion for brightnes…
SagarMakhar Jan 16, 2022
0bdcaf0
Bump ws in /packages/SystemUI/scripts/token_alignment
dependabot[bot] Mar 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ filegroup {
":vold_aidl",
":deviceproductinfoconstants_aidl",

":adbrootservice_aidl",

// For the generated R.java and Manifest.java
":framework-res{.aapt.srcjar}",

Expand Down Expand Up @@ -265,6 +267,11 @@ java_library {

"com.android.sysprop.localization",
"PlatformProperties",
"vendor.lineage.livedisplay-V2.0-java",
"vendor.lineage.livedisplay-V2.1-java",
"vendor.lineage.touch-V1.0-java",
"vendor.lineage.health-V1-java",
"SurfaceFlingerProperties",
],
sdk_version: "core_platform",
installable: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ void addPowerSaveTempWhitelistAppDirect(int uid, long duration,

boolean isAppOnWhitelist(int appid);

int[] getPowerSaveWhitelistSystemAppIds();

int[] getPowerSaveWhitelistUserAppIds();

int[] getPowerSaveTempWhitelistAppIds();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ public class AppStateTrackerImpl implements AppStateTracker {
@GuardedBy("mLock")
final SparseBooleanArray mActiveUids = new SparseBooleanArray();

/**
* System exemption list in the device idle controller.
*/
@GuardedBy("mLock")
private int[] mPowerExemptSystemAppIds = new int[0];

/**
* System except-idle + user exemption list in the device idle controller.
*/
Expand Down Expand Up @@ -1041,13 +1047,15 @@ private void cleanUpArrayForUser(SparseBooleanArray array, int removedUserId) {
* Called by device idle controller to update the power save exemption lists.
*/
public void setPowerSaveExemptionListAppIds(
int[] powerSaveExemptionListSystemAppIdArray,
int[] powerSaveExemptionListExceptIdleAppIdArray,
int[] powerSaveExemptionListUserAppIdArray,
int[] tempExemptionListAppIdArray) {
synchronized (mLock) {
final int[] previousExemptionList = mPowerExemptAllAppIds;
final int[] previousTempExemptionList = mTempExemptAppIds;

mPowerExemptSystemAppIds = powerSaveExemptionListSystemAppIdArray;
mPowerExemptAllAppIds = powerSaveExemptionListExceptIdleAppIdArray;
mTempExemptAppIds = tempExemptionListAppIdArray;
mPowerExemptUserAppIds = powerSaveExemptionListUserAppIdArray;
Expand Down Expand Up @@ -1265,6 +1273,18 @@ public boolean isUidPowerSaveUserExempt(int uid) {
}
}

/**
* @return whether or not a UID is in either the user defined power-save exemption list or the
system full exemption list (not including except-idle)
*/
public boolean isUidPowerSaveIdleExempt(int uid) {
final int appId = UserHandle.getAppId(uid);
synchronized (mLock) {
return ArrayUtils.contains(mPowerExemptUserAppIds, appId)
|| ArrayUtils.contains(mPowerExemptSystemAppIds, appId);
}
}

/**
* @return whether a UID is in the temp power-save exemption list or not.
*
Expand Down Expand Up @@ -1300,6 +1320,9 @@ public void dump(IndentingPrintWriter pw) {
pw.print("Active uids: ");
dumpUids(pw, mActiveUids);

pw.print("System exemption list appids: ");
pw.println(Arrays.toString(mPowerExemptSystemAppIds));

pw.print("Except-idle + user exemption list appids: ");
pw.println(Arrays.toString(mPowerExemptAllAppIds));

Expand Down Expand Up @@ -1375,6 +1398,10 @@ public void dumpProto(ProtoOutputStream proto, long fieldId) {
}
}

for (int appId : mPowerExemptSystemAppIds) {
proto.write(AppStateTrackerProto.POWER_SAVE_SYSTEM_EXEMPT_APP_IDS, appId);
}

for (int appId : mPowerExemptAllAppIds) {
proto.write(AppStateTrackerProto.POWER_SAVE_EXEMPT_APP_IDS, appId);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,12 @@ static String lightStateToString(int state) {
*/
private final SparseBooleanArray mPowerSaveWhitelistSystemAppIds = new SparseBooleanArray();

/**
* Current system app IDs that are in the complete power save white list. This array can
* be shared with others because it will not be modified once set.
*/
private int[] mPowerSaveWhitelistSystemAppIdArray = new int[0];

/**
* App IDs that have been white-listed to opt out of power save restrictions, except
* for device idle modes.
Expand Down Expand Up @@ -2382,6 +2388,11 @@ public String[] getFullPowerWhitelistExceptIdle() {
return DeviceIdleController.this.getFullPowerWhitelistInternalUnchecked();
}

@Override
public int[] getPowerSaveWhitelistSystemAppIds() {
return DeviceIdleController.this.getPowerSaveWhitelistSystemAppIds();
}

/**
* Returns the array of app ids whitelisted by user. Take care not to
* modify this, as it is a reference to the original copy. But the reference
Expand Down Expand Up @@ -2607,6 +2618,12 @@ boolean isAppOnWhitelistInternal(int appid) {
}
}

int[] getPowerSaveWhitelistSystemAppIds() {
synchronized (this) {
return mPowerSaveWhitelistSystemAppIdArray;
}
}

int[] getPowerSaveWhitelistUserAppIds() {
synchronized (this) {
return mPowerSaveWhitelistUserAppIdArray;
Expand All @@ -2617,6 +2634,16 @@ private static File getSystemDir() {
return new File(Environment.getDataDirectory(), "system");
}

/** Returns the keys of a SparseBooleanArray, paying no attention to its values. */
private static int[] keysToIntArray(final SparseBooleanArray sparseArray) {
final int size = sparseArray.size();
final int[] array = new int[size];
for (int i = 0; i < size; i++) {
array[i] = sparseArray.keyAt(i);
}
return array;
}

@Override
public void onStart() {
final PackageManager pm = getContext().getPackageManager();
Expand Down Expand Up @@ -2663,6 +2690,7 @@ public void onStart() {
} catch (PackageManager.NameNotFoundException e) {
}
}
mPowerSaveWhitelistSystemAppIdArray = keysToIntArray(mPowerSaveWhitelistSystemAppIds);

mConstants = mInjector.getConstants(this, mHandler, getContext().getContentResolver());

Expand Down Expand Up @@ -4464,6 +4492,7 @@ private void reportTempWhitelistChangedLocked(final int uid, final boolean added

private void passWhiteListsToForceAppStandbyTrackerLocked() {
mAppStateTracker.setPowerSaveExemptionListAppIds(
mPowerSaveWhitelistSystemAppIdArray,
mPowerSaveWhitelistExceptIdleAppIdArray,
mPowerSaveWhitelistUserAppIdArray,
mTempWhitelistAppIdArray);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2739,7 +2739,7 @@ public void set(String callingPackage,
} else if (workSource == null && (UserHandle.isCore(callingUid)
|| UserHandle.isSameApp(callingUid, mSystemUiUid)
|| ((mAppStateTracker != null)
&& mAppStateTracker.isUidPowerSaveUserExempt(callingUid)))) {
&& mAppStateTracker.isUidPowerSaveIdleExempt(callingUid)))) {
flags |= FLAG_ALLOW_WHILE_IDLE_UNRESTRICTED;
flags &= ~(FLAG_ALLOW_WHILE_IDLE | FLAG_PRIORITIZE);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public final class DeviceIdleJobsController extends StateController {
* True when in device idle mode, so we don't want to schedule any jobs.
*/
private boolean mDeviceIdleMode;
private int[] mPowerSaveWhitelistSystemAppIds;
private int[] mDeviceIdleWhitelistAppIds;
private int[] mPowerSaveTempWhitelistAppIds;

Expand Down Expand Up @@ -134,6 +135,8 @@ public DeviceIdleJobsController(JobSchedulerService service) {
mLocalDeviceIdleController =
LocalServices.getService(DeviceIdleInternal.class);
mDeviceIdleWhitelistAppIds = mLocalDeviceIdleController.getPowerSaveWhitelistUserAppIds();
mPowerSaveWhitelistSystemAppIds =
mLocalDeviceIdleController.getPowerSaveWhitelistSystemAppIds();
mPowerSaveTempWhitelistAppIds =
mLocalDeviceIdleController.getPowerSaveTempWhitelistAppIds();
mDeviceIdleUpdateFunctor = new DeviceIdleUpdateFunctor();
Expand Down Expand Up @@ -197,8 +200,9 @@ public void setUidActiveLocked(int uid, boolean active) {
* Checks if the given job's scheduling app id exists in the device idle user whitelist.
*/
boolean isWhitelistedLocked(JobStatus job) {
return Arrays.binarySearch(mDeviceIdleWhitelistAppIds,
UserHandle.getAppId(job.getSourceUid())) >= 0;
final int appId = UserHandle.getAppId(job.getSourceUid());
return Arrays.binarySearch(mDeviceIdleWhitelistAppIds, appId) >= 0
|| Arrays.binarySearch(mPowerSaveWhitelistSystemAppIds, appId) >= 0;
}

/**
Expand Down
1 change: 1 addition & 0 deletions core/api/current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37620,6 +37620,7 @@ package android.provider {
field public static final String SELECTED_INPUT_METHOD_SUBTYPE = "selected_input_method_subtype";
field public static final String SETTINGS_CLASSNAME = "settings_classname";
field public static final String SKIP_FIRST_USE_HINTS = "skip_first_use_hints";
field public static final String TETHERING_ALLOW_VPN_UPSTREAMS = "tethering_allow_vpn_upstreams";
field public static final String TOUCH_EXPLORATION_ENABLED = "touch_exploration_enabled";
field @Deprecated public static final String TTS_DEFAULT_COUNTRY = "tts_default_country";
field @Deprecated public static final String TTS_DEFAULT_LANG = "tts_default_lang";
Expand Down
105 changes: 105 additions & 0 deletions core/java/android/adb/ADBRootService.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package android.adb;

import android.adbroot.IADBRootService;
import android.os.IBinder;
import android.os.RemoteException;
import android.os.ServiceManager;
import android.util.Slog;

/**
* {@hide}
*/
public class ADBRootService {
private static final String TAG = "ADBRootService";

private static final String ADB_ROOT_SERVICE = "adbroot_service";

private IADBRootService mService;

private final IBinder.DeathRecipient mDeathRecipient = new IBinder.DeathRecipient() {
@Override
public void binderDied() {
if (mService != null) {
mService.asBinder().unlinkToDeath(this, 0);
}
mService = null;
}
};

private synchronized IADBRootService getService()
throws RemoteException {
if (mService != null) {
return mService;
}

final IBinder service = ServiceManager.getService(ADB_ROOT_SERVICE);
if (service != null) {
service.linkToDeath(mDeathRecipient, 0);
mService = IADBRootService.Stub.asInterface(service);
return mService;
}

Slog.e(TAG, "Unable to acquire ADBRootService");
return null;
}

/**
* @hide
*/
public boolean isSupported() {
try {
final IADBRootService svc = getService();
if (svc != null) {
return svc.isSupported();
}
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
return false;
}

/**
* @hide
*/
public void setEnabled(boolean enable) {
try {
final IADBRootService svc = getService();
if (svc != null) {
svc.setEnabled(enable);
}
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
}

/**
* @hide
*/
public boolean getEnabled() {
try {
final IADBRootService svc = getService();
if (svc != null) {
return svc.getEnabled();
}
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
return false;
}
}
4 changes: 3 additions & 1 deletion core/java/android/app/ApplicationPackageManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
import com.android.internal.annotations.Immutable;
import com.android.internal.annotations.VisibleForTesting;
import com.android.internal.os.SomeArgs;
import com.android.internal.util.PropImitationHooks;
import com.android.internal.util.UserIcons;

import dalvik.system.VMRuntime;
Expand Down Expand Up @@ -832,7 +833,8 @@ public Boolean recompute(HasSystemFeatureQuery query) {

@Override
public boolean hasSystemFeature(String name, int version) {
return mHasSystemFeatureCache.query(new HasSystemFeatureQuery(name, version));
return PropImitationHooks.hasSystemFeature(name,
mHasSystemFeatureCache.query(new HasSystemFeatureQuery(name, version)));
}

/** @hide */
Expand Down
4 changes: 4 additions & 0 deletions core/java/android/app/ConfigurationController.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.HardwareRenderer;
import android.graphics.Typeface;
import android.inputmethodservice.InputMethodService;
import android.os.Build;
import android.os.LocaleList;
import android.os.Trace;
import android.util.DisplayMetrics;
Expand Down Expand Up @@ -198,6 +201,7 @@ private void handleConfigurationChangedInner(@Nullable Configuration config,

final Application app = mActivityThread.getApplication();
final Resources appResources = app.getResources();
Typeface.updateDefaultFont(appResources);
mResourcesManager.applyConfigurationToResources(config, compat);
updateLocaleListFromAppContext(app.getApplicationContext());

Expand Down
Loading