Commit Graph

12 Commits

Author SHA1 Message Date
Jake Weinstein 029d8c8270 fixup! Use -Xjvm-default=all instead of -Xjvm-default=enable or @JvmDefault
Change-Id: Ib708ec71c82cefc72cd633080d0ad3097409ee42
2023-12-29 06:32:17 +09:00
Anton Hansson b754d1edda Specify no resource_dirs for SystemUI
The res directory is already included via the SystemUI-core
library. The default for resource_dirs is ["res"] if it exists,
so explicitly clear it to avoid depending on it twice.

Bug: 124035856
Test: m SystemUI
Change-Id: Ia1b06cd9eff4e614684efde34288cf9ebd895870
2023-12-29 06:32:17 +09:00
Jake Weinstein 89a16129c3 PASysUI: Clean up ParanoidSystemUI-res
Matching AOSP by merging this into SystemUI-core

Change-Id: I25721b309d81d1dd32d39f3c21de4ac99bbcb0dd
2023-12-29 06:32:17 +09:00
Jake Weinstein dc4ba3e1b0 PASysUI: Clean up license logic in Android.bp
Change-Id: I972743e3a49d0b9a80af1c0d53428363a8d1b6d3
2023-12-29 06:32:17 +09:00
Kevin Jeon d79836e082 Enable dagger fastInit on ParanoidSystemUI
This change enables fastInit mode on SystemUI, which should improve
initialization times.

SystemUIBootTiming was measured over three trials:
- 0ms -> 5ms (DependencyInjection)
- 545ms -> 490ms (StartServices)

Bug: 202327225
Test: - Build and check that sysui uses SwitchingProviders.
      - atest SystemUITests
Change-Id: I726bb1b39af1e26af55b89f7eff80741a31b8ca1
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2023-12-28 21:30:54 +00:00
Colin Cross 0101f093c4 Use -Xjvm-default=all instead of -Xjvm-default=enable or @JvmDefault
The @JvmDefault annotation and -Xjvm-default=enable argument are both
removed from kotlinc 1.9.0 in favor of -Xjvm-default=all.

Change-Id: I918d64fa102f4907c12decaec634f5d546b8d600
2023-12-27 23:18:23 +09:00
Jared Duke bdfa108ada
Use common SystemUI optimized defaults
Switch SystemUIGo to use the common optimized config for all
SystemUI derivatives.

Bug: 215530220
Test: m + validate identical output
Change-Id: I98f86d6b379ff3d54cddd53ecc8f5b8db5c6c233
2023-10-09 05:38:55 +02:00
Jared Duke 8a640c46aa
Align SystemUIGo optimizations w/ SystemUI
Use an identical set of optimization flags as used by the base
SystemUI target. In practice, this enables R8 full mode and resource
shrinking. A follow-up change will refactor this target to use a common
java_defaults target for these optimizations.

Bug: 202959019
Test: m + presubmit
Change-Id: Ifa935748ad314712b18f67d66e5ed500895e2f7a
2023-10-09 05:38:35 +02:00
Linux4 2a7c32376c ParanoidSystemUI: Add powershare QS tile
Author: Linux4 <tim@linux4.de>
Date:   Mon Apr 20 17:57:43 2020 +0200

    base: SystemUI: add qs powershare tile

    Change-Id: Ibcf5cc3e766d971d9dca9242bf2770093d4d3099

Author: Linux4 <tim@linux4.de>
Date:   Sat May 2 12:54:49 2020 +0200

    base: SystemUI: fix NPE in PowerShareTile

    Change-Id: If69846f3e3d4f3a12c0f78f47b5adc1008888de1

Author: LuK1337 <priv.luk@gmail.com>
Date:   Tue Jul 7 13:27:12 2020 +0200

    SystemUI: Call setOnlyAlertOnce(true) for PowerShare notification

    * Otherwise we end up getting notification sound
      every 20 seconds when using it...

    Change-Id: Ia56b01f332860b64f0d2c532884e6bcaa2acfb17

Change-Id: Ia09a674745adb433f3aaeebfeb79899906350793
2023-06-13 13:38:42 +00:00
Tobias Merkel 4114e2c7b3
ParanoidSystemUI: Sync forked dagger files with SystemUI
Change-Id: Ifdabe41556438f69cf087afd691480861f813aa0
2023-06-13 01:01:38 +02:00
Christian Oder 042d6dbcb4 ParanoidSystemUI: Introduce Data Switch QS Tile
* Based on OnePlus' OxygenOS tile, reworked to work with AOSP toggling without requirements on proprietary telephony-ext features

idoybh (YAAP): Adapt to A12

[ghostrider-reborn]
- Set secondary label to SIM1 or SIM2 instead of just "On"

[Jyotiraditya Panda <jyotiraditya@aospa.co>]
- Code cleanup and improvements

[Andrew Fluck <andrew@aospa.co>]
- Update SIMs QS icons

Change-Id: Ie2e280c07f24f9da6b4ee218b72501a2713ce429
Co-authored-by: Andrew Fluck <andrew@aospa.co>
Signed-off-by: Hernán Castañón Álvarez <herna@paranoidandroid.co>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
2023-01-16 14:42:19 -05:00
Chris Crump 9531109ba1
Initial Paranoid SystemUI module
Based on and referenced from https://github.com/StatiXOS/android_packages_apps_Statix_SystemUI

Change-Id: I99689c4b9e3bdd45ca849e7e199c99fe1b98a387
2023-01-04 16:32:07 +01:00