summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-02SystemUI: Expose VPN icon to TunertachibanaLibXZR
This can be really useful for those with vpn always on. Change-Id: I9bfce76e4475db0246aa0bc348119ced99574e8d
2023-06-02SystemUI: Bringup tuner statusbar changesRashed Abdel-Tawab
Based on the following changes: Author: Steve Kondik <steve@cyngn.com> Date: Mon Sep 12 12:49:59 2016 -0700 systemui: Enable navbar tuner * And add an action for it. Change-Id: I23a51cc8e33f3498deec9ed60281423c66bbc4ca Author: Steve Kondik <steve@cyngn.com> Date: Wed Sep 14 05:08:02 2016 -0700 systemui: Fix a few issues with Tuner * Allow launching PreferenceScreens directly by setting the "tuner" extra to a valid key. * Remove the silly warning. There are no dragons here. * Move CM stuff to CM manifest. * Fix the ActionBar title when navigating. Change-Id: Ideac31dbfd71d7c0aa7fc3c20395c24128c598fc Author: Joey Rizzoli <joey@cyanogenmoditalia.it> Date: Tue Nov 8 15:44:25 2016 +0100 Tuner: allow power notif controls to be launched externally Change-Id: I8a9e1a2080640938c99125ab04986dfc99e004bf Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it> Author: Gabriele M <moto.falcon.git@gmail.com> Date: Sat Sep 16 19:35:28 2017 +0200 SystemUI: Revert some Tuner changes These changes were done to start the status bar tuner directly without showing the main Tuner screen. However, they negatively affect the management of the fragments. Revert them so that a different solution can be implemented in a follow-up change. This reverts the following commits: - 338de6728d8910d450f8962a44bbe69feba1ced4 "Handle onOptionsItemSelected for TunerActivity" - b3eba6af8e3253efc1332b55821fd08e4fbf77b0 "SystemUI: Remove nav bar and status bar options from SystemUI Tuner" - 82b9f95f761e7b5cc94ea2542b30460e48f8fb02 (partially) "systemui: Fix a few issues with Tuner" BUGBASH-661 Change-Id: I35182248566ff31ed08d2836d66d5bd3f947ee9a Author: Gabriele M <moto.falcon.git@gmail.com> Date: Sat Sep 16 19:35:38 2017 +0200 SystemUI: Add separate pref screen for the status bar tuner Keep the status bar preferences separate and allow to start them directly without loading the main tuner fragment. Change-Id: Ie1a0d9395b7bc01d585616a1976adeda3c457a0d Author: althafvly <althafvly@gmail.com> Date: Tue Apr 19 07:33:15 2022 +0000 SystemUI: Split status bar icon controls for vibrate and mute - Give users the option to disable the Mute icon too as Volume icons got split in https://github.com/LineageOS/android_frameworks_base/commit/ca7ceb8aef3e3fb7a899c137efe0c00003499f6d - Change Volume string to Vibrate to better reflect which icon is being disabled. Change-Id: I1f8a0370f748cf40fc99584188c42bb2a0aa9856 Author: althafvly <althafvly@gmail.com> Date: Thu Apr 21 11:40:04 2022 +0530 SystemUI: Bring in drawables for statusbar icon toggles - Icons from aosp base and settings - Minor edits for width, height, tint and color From 'core/res/res/drawable' dir: - ic_statusbar_auto_rotate - ic_qs_auto_rotate - ic_statusbar_camera - ic_camera - ic_statusbar_mute - ic_audio_ring_notif_mute - ic_statusbar_wifi - ic_wifi_signal_4 - ic_statusbar_vibrate - ic_audio_ring_notif_vibrate - ic_statusbar_alarm - ic_audio_alarm From 'packages/SystemUI/res/drawable' dir: - ic_statusbar_headset - ic_headset - ic_statusbar_cast - ic_cast From 'packages/apps/Settings/res/drawable' dir: - ic_statusbar_work - ic_enterprise - ic_statusbar_hotspot - ic_hotspot - ic_statusbar_do_not_disturb - ic_do_not_disturb_on_24dp - ic_statusbar_ethernet - ic_settings_ethernet - ic_statusbar_mobile_network - ic_network_cell - ic_statusbar_airplanemode - ic_airplanemode_active - ic_statusbar_clock - ic_settings_date_time - ic_statusbar_priority - ic_important_outline Change-Id: Id30e5039e73068d0c73dd5fc7d0305865af1d791 Author: SagarMakhar <sagarmakhar@gmail.com> Date: Thu Oct 21 10:31:56 2021 +0000 Adapt tuner prefs to S settings style & cleanup Co-authored-by: Michael Bestas <mkbestas@lineageos.org> Change-Id: Icadd13a00e4d3e649b50f405ed0c8c76081be200 Change-Id: I4ab0b4d18dcf0080dea665b63137c19a0e57aa07
2023-06-02Merge tag 'LA.QSSI.13.0.r1-10200-qssi.0' into tachibanaalk3pInjection
"LA.QSSI.13.0.r1-10200-qssi.0" Change-Id: Ie242ebd649a7622a245bffbdef0ebf1f52c46945
2023-05-26Merge 0e6ab7817a4398263800d124a3382622e6de9068 on remote branchLinux Build Service Account
Change-Id: Ic2e3eb9be37ea82b96025ebeeea1acb460672bc6
2023-05-19Merge tag 'LA.QSSI.13.0.r1-10000-qssi.0' into tachibanaalk3pInjection
"LA.QSSI.13.0.r1-10000-qssi.0" Change-Id: I4ef868edb19ab4d13ec87dfa231287fb1e2bf523
2023-05-12Merge 65fb2edce8e5c5e9704be4fad14344e3acdb7c88 on remote branchLinux Build Service Account
Change-Id: I38706de3cc0f136b1618ca05ccfe82eba1fbde3f
2023-05-01Snap for 10042773 from c2ce902e651c7e08ab3350c638cbaa2e6fd8e2c6 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Ib468368271265b51b8645d248745a88592a44523
2023-05-01Merge 88bcba312ab4fc76ea6fc98f44acc4de88fe38e0 on remote branchLinux Build Service Account
Change-Id: I0a06a9a7da15a2a756f0d393076e0abf6a7ac65a
2023-04-28Merge t-mpr-2023-05Matt Lee
Change-Id: I92178c7885f70b51cd3e0c6f48a58c3374d6f7e1
2023-04-27Snap for 10015561 from 0959bef8b5dd7ed360d70df2643f0d0a6776e097 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: I65e2fc7a375bfa72dc324358a7fc76df7c365027
2023-04-24SystemUI: Fix HD icon does not displayjunklu
Keystone integration deleted MobileSignalController partial logic, causing HD icon does not display. Change-Id: I65f736a12817be8dde089238ae795433203b9e7e CRs-Fixed: 3466811
2023-04-20Notifications channels are not locked at first bootEdward Savage-Jones
After first boot when doing S->T upgrade or when doing factory data reset on Android T, important system app notification channels are not greyed out/disabled as expected. DefaultPermissionGrantPolicy set fixed POST_NOTIFICATIONS are ignored. If a user then modifies these channels and reboots their device, they can lock these fixed notification channels into an incorrect state, where the only recovery is factory reset. Bug: 254576888 Test: See issue Change-Id: If73e294b9a732ef47ad685fdd19f51afd8a04eef
2023-04-20SystemUI: Avoid unnecessary keyguard indication controller recreationLuK1337
This basically prevents us from running into situation where there are two controllers running in the background. Change-Id: I13781e3dd6cb3c2f75efad77fed214bae8d9be87
2023-04-20JobScheduler: Respect allow-in-power-save permTommy Webb
Apps like Messaging may be allowlisted to be unaffected by doze mode using the allow-in-power-save permission, but prior to this change, their jobs are still restricted from running when the device is idle, leading to delayed processing. On the other hand, jobs scheduled by packages that are user-exempted via the "Unrestricted" app battery usage option do not experience such delays. This change causes system- exempted packages to be treated the same as user-exempted packages. Issue: calyxos#1525 Bug: 223643513 Test: CtsJobSchedulerTestCases Change-Id: I6d95b3940e536e93aae4b2b48706069e964bdb99
2023-04-20SystemUI: Make edit button click ripple effect roundedDarkJoker360
Change-Id: Ia3f58ac1688f5b12020a815be9530b371247565a
2023-04-20SystemUI: Show the alarm icon on QS as wellIdo Ben-Hur
They did their thing again and blocked it unless you use the new QS header Change-Id: I9cd1a1409df5755f4c1630416707b3ef46722ad6
2023-04-20SystemUI: Fix uneven DND icon padding in status barIdo Ben-Hur
Change-Id: I8f7f88d6451371458632b7949ef74bedbeccbaf8
2023-04-20Remove sensitive info from SUPL requestsTommy Webb
Except in case of emergency, do not include sensitive subscriber information in SUPL requests (A-GPS). Issue: calyxos#618 Co-Authored-By: MSe1969 <mse1969@posteo.de> Co-Authored-By: Michael Bestas <mkbestas@gmail.com> Change-Id: I9f372cfcf02d3b768bd5cf1de220eea1fe8c1dbb
2023-04-20Fix stuck screen from display change timeoutTommy Webb
Occasionally, a remote display change is not processed within the timeout period. One prominent example is when a device is not able to complete its rotation from landscape back to portrait in time after the display is turned off. When this happens, and the callback is called after the timeout instead, DisplayContent.sendNewConfiguration abandons its effort when it sees there are pending display changes, but this callback itself might be the pending display change, and it does not expect itself to be included as part of this decision. Remove all callbacks before calling the last one to prevent this. Test: Manual: Build and run with REMOTE_DISPLAY_CHANGE_TIMEOUT_MS = 50, or some other low value. Enter landscape mode, e.g. by playing a video. Turn off the screen. Wait 3 seconds. Turn the screen back on. The lock screen will appear as normal. Previously, the screen would remain black until a restart or `adb shell wm` change interaction. Issue: calyxos#1392 Change-Id: I53659d5580cdd70b4c7138dcca770b11f5397194
2023-04-20toast: Fix inconsistent app icon display for system appsEdward Savage-Jones
When an app is preloaded and it displays a toast, no app icon is visible in the toast. If the app is then upgraded, and it displays a toast the app icon is the visible in the toast. This updates the logic to also include system apps when checking if the app has a launch intent to decide whether to show an icon. Test: Display a Toast in a system app, upgrade the system app and trigger the toast again. The app icon should be displayed in both cases. Bug: 260568818 Change-Id: I9535b4599ba16cb3e4b224b9569259db1ec9ed36
2023-04-20toast: fix bg color not changing with theme changeSuperDroidBond
Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com> Change-Id: I0d3a1995fa35d47e246cedef670357d31e004b50
2023-04-20fixup! SystemUI: Make clock & battery clickable againMichael W
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/5684 Change-Id: I66751353944b4cf8a5b5827c3ce53129ec84f1e7
2023-04-20fixup! SystemUI: Add heads up tileMichael Bestas
Change-Id: I367dbbf7977712d8ad085866387730f84074bf68
2023-04-20fixup! SystemUI: Add AOD QS tileMichael Bestas
Change-Id: I32e94533a8f2815579d8f1f2d6cb18c7d686af96
2023-04-20SystemUI: Use Google Sans for the lockscreen clockDaniel J. Chittoor
Change-Id: Icf0996e3ca01716c7877aa8f261fcdfa09785a12
2023-04-20SystemUI: Apply monet to fingerprint authentication ripple animationSagarMakhar
Change-Id: I15d0f9fee13647062c651219b527e01a539b6909
2023-04-20udfps: Make pressed udfp view configurableTheScarastic
* set a solid color by configuring config_udfpsColor * set a custom image by setting udfps_icon_pressed and making config_udfpsColor #00ffffff (transparent) Change-Id: I028e0ba6ee012dc84cd365078ef4cbfbaad5cedc
2023-04-20udfps: Restore illumination dot for global hbmArian
UdfpsSurfaceView.java is imported from android-12.1.0_r22 Change-Id: I4a4e85a7437a9a444a4f952fd62e4fe12f56ce5a
2023-04-20SystemUI: use DOUBLE_TAP_TO_WAKE setting also for wake from aodmaxwen
Co-authored-by: Michael W <baddaemon87@gmail.com> Change-Id: Ib51fdeaaa9a1b18b79f4f311c65565352d909a72
2023-04-20Merge tag 'LA.QSSI.13.0.r1-09800-qssi.0' into tachibanaalk3pInjection
"LA.QSSI.13.0.r1-09800-qssi.0" Conflicts: core/java/android/app/StatusBarManager.java core/java/android/provider/Settings.java packages/SystemUI/res/values/config.xml packages/SystemUI/res/values/styles.xml packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java packages/SystemUI/src/com/android/systemui/flags/Flags.java packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSFactoryImpl.java packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotView.java packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java Change-Id: I991d734864d4fc3b542a52e4a0ab3a0a5ccd2a35
2023-04-20Revert "Disable notification channel warnings by default"alk3pInjection
Fixed upstream This reverts commit 60090ce184bc7a55409d91ed6b8ecf306dea14a4. Change-Id: I93840f103e035e826c928e31beed8e8bc9ff0539
2023-04-20Revert "SystemUI: Use Google Sans for the lockscreen clock"alk3pInjection
Will need to be reimplemented after QPR2 merge This reverts commit b8de3f0d07cf87b8bb41f35c07ed24ff77040a9b. Change-Id: Id7108ef96ec145fd17e6f016afb41a9a72017841
2023-04-20Revert "SystemUI: Fix QS status font weight mismatch in dark mode"Michael Bestas
Fixed upstream This reverts commit a6b8e615b03ad914d581ae01a394d0747b347726. Change-Id: I8ff6eae17a6fe6ecf7d8b51589432643c5ef83f3
2023-04-20Revert "SystemUI: ic_brightness_*: drawables get surface color"Michael Bestas
Doesn't apply after QPR2 merge This reverts commit 5bca9bb14d9c3512e419e43598f1190e7e771604. Change-Id: I72b3d039f8fcbf9969a06cd5fa9590288748a572
2023-04-20Revert "SystemUI: Use DT2W setting also to wake from AOD"Michael Bestas
Will need to be reimplemented after qpr1 This reverts commit f7195535696c195a3feab9c819478112c20e8999. Change-Id: I098ccfc27bf13f4c2f5f4a728ef50df982d4017e
2023-04-20Revert "keyguard: Do not trigger a wake up when hiding lockscreen"Michael Bestas
Will need to be reimplemented if needed after qpr1 This reverts commit 46a1632fae5b61d4b744a5a760655938419b0605. Change-Id: I712097192a5cfa1e20b24c49f7ef7516c5109f62
2023-04-20base: Squashed revert of udfps changesalk3pInjection
These will need to be reimplemented after QPR2 merge. Revert "udfps: Trigger onFingerDown with regular action down events too" This reverts commit afc0cd1f0ff9ee00ad17b99bcbeda54bcbb7c251. Revert "udfps: Change window type to TYPE_DISPLAY_OVERLAY" This reverts commit 436f61e35620afee50261246dd3467be250a1b0f. Revert "udfps: Implement default udfps hbm provider" This reverts commit 9ad560175ea4891c399ffe6f5f77de189a700c50. Revert "udfps: Make pressed udfp view configurable" This reverts commit 194bbfcacd21e2ed50f48f9afa8f19c21b969778. Revert "udfps: Restore illumination dot for global hbm" This reverts commit 169780b2d87ade137eed130d30b3dc19ebe27045. Change-Id: I005a9a30d205392ce61e89965cc93821acb4cb3a
2023-04-14Merge 5a47c505d9dd08c276dad9d6fbd157f7207fbb56 on remote branchLinux Build Service Account
Change-Id: Ic8a4252f1c0cdf4a82e9dadcce37606fdcaa68cd
2023-04-13Snap for 9934182 from 2c8c56b7bfec91d6dfd68c0ee665b143b0c13d86 to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Ie12aa9641f5eefab59e87146633d18b09c2a14ec
2023-04-13Merge "Revert "enable secondary SIM do not disturb feature"" into ↵Ramesh Garimella
t-keystone-qcom-dev
2023-04-04Snap for 9839160 from 984a78d10a3d7dda40a05df5cb4085aecad13c44 to ↵Android Build Coastguard Worker
tm-platform-release Change-Id: I1529566871d603a6a4868e3491162acee59565e8
2023-04-03Snap for 9867839 from 95756324a0fc4a18892cab2a0c30ca94bf42db8a to ↵Android Build Coastguard Worker
t-keystone-qcom-release Change-Id: Icfa83a7e1f51b18ff41e9a05ce504cd008b18982
2023-04-01Merge changes from topic "Set_Afh_Channel_Map" into t-keystone-qcom-devAndroid Build Prod User
* changes: [automerger skipped] Frameworks: Set and Get AFH map support skipped: 9292ebc23b Frameworks: Set and Get AFH map support
2023-03-30Merge ab3ab5826a644fc94cf9e41aee2eb1df235c3bbc on remote branchLinux Build Service Account
Change-Id: Id938b8d1b24dc9156e1513b761e87e12187b7fc0
2023-03-28Merge cherrypicks of ['googleplex-android-review.googlesource.com/21159680', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/21266934', 'googleplex-android-review.googlesource.com/21389013', 'googleplex-android-review.googlesource.com/21422765', 'googleplex-android-review.googlesource.com/21238189', 'googleplex-android-review.googlesource.com/21568941', 'googleplex-android-review.googlesource.com/21534012', 'googleplex-android-review.googlesource.com/21649216', 'googleplex-android-review.googlesource.com/21688022'] into tm-qpr2-release. am: e24735cae1 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22317051 Change-Id: I227d73a8f240ac3592f2c045820a06a8c55e8129 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28Merge cherrypicks of ['googleplex-android-review.googlesource.com/21159680', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/21266934', 'googleplex-android-review.googlesource.com/21389013', 'googleplex-android-review.googlesource.com/21422765', 'googleplex-android-review.googlesource.com/21238189', 'googleplex-android-review.googlesource.com/21568941', 'googleplex-android-review.googlesource.com/21534012', 'googleplex-android-review.googlesource.com/21649216', 'googleplex-android-review.googlesource.com/21688022'] into tm-qpr2-release. Change-Id: I3293f67075d99e736cae14b81f8cbcf47569f858
2023-03-28DO NOT MERGE Isolated processes must fail registering BRs.Mugdha Lakhani
Broadcast Receivers should not be allowed to be registered by isolated processes. Bug: b/263358101 Test: atest SdkSandboxRestrictionsHostTest (cherry picked from commit 43b8a91b0584dd1c6a136702e68e1f0cd519cb51) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d752ea5f24ce50f407504ce99f56535d4cece8e2) Merged-In: I5bb2ee3ce8a447105a18851fdffa5a769cc3fe49 Change-Id: I5bb2ee3ce8a447105a18851fdffa5a769cc3fe49
2023-03-28enforce stricter rules when registering phoneAccountsThomas Stuart
- include disable accounts when looking up accounts for a package to check if the limit is reached (10) - put a new limit of 10 supported schemes - put a new limit of 256 characters per scheme - put a new limit of 256 characters per address - ensure the Icon can write to memory w/o throwing an exception bug: 259064622 bug: 256819769 Test: cts + unit (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b07326f1fb3d0e42a6bab902c271974c42d93c06) Merged-In: Ia7d8d00d9de0fb6694ded6a80c40bd55d7fdf7a7 Change-Id: Ia7d8d00d9de0fb6694ded6a80c40bd55d7fdf7a7
2023-03-28Prevent sharesheet from previewing unowned URIs [RESTRICT AUTOMERGE]Mark Renouf
Bug: 261036568 Test: manually via supplied tool (see bug) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cef32a8b8ad109cd3066e4ad249fadbb72aa5574) Merged-In: Iee1a75ef6ecbf471badeb42d8ebea11e74d884c1 Change-Id: Iee1a75ef6ecbf471badeb42d8ebea11e74d884c1
2023-03-28Limit the number of shortcuts per app that can be retained by systemPinyao Ting
This is a second attempt at fixing the issue, the previous CL ag/20642213 was reverted because it simply throws an exception when the limit is reached, which causes apps to crash since chat apps tends to be sending large amount of conversation shortcuts and they have no way to know how many of these shortcuts are still cached by the system. Instead of throwing an exception, this CL simply removes excessive shortcuts to avoid crashes. Currently there is a limit on the number of shortcuts an app can publish in respect to each launcher activity. This CL further implements a global maximum of total number of shortcuts that can be retained for an app to mitigate from any potential system health issue. When the global maximum is reached, ShortcutService will proactively removes shortcuts from system memory. Cached shortcuts are removed first, followed by dynamic shortcuts, using last updated time as tie-breaker. This CL additionally addresses an unexpected flow where re-publishing previously removed shortcuts that are still retained by the system could cause the total number of shortcuts to exceed previously set limit. Bug: 250576066 233155034 Test: manual (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a6e7958ab84edbd9e5f4653d4d1f56a7438cd7dc) Merged-In: I001c7a87b62aefa9487bf8efaf3cd02d7cb21521 Change-Id: I001c7a87b62aefa9487bf8efaf3cd02d7cb21521