* From pixel dump. Suggested by @nikhilmenghani.
* Nikgapps will remove this overlay as it conflicts here.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Android 12 added this config to offload some window management to a
dedicated thread. Enable it to improve performance when the main System
UI thread is busy.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Reduce default screen off timeout to 30 sec.
* Turn on automation brightness mode by default.
* Turn on vibrate when ringing by default.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Devices that shipped on API 33 or higher need to set
ro.product.first_api_level to 32 in order to pass integrity.
Set SPOOF_FIRST_API_LEVEL_32 := true in BoardConfig*.mk to enable.
Signed-off-by: AnierinB <anierin@evolution-x.org>
* OEMs like OnePlus and Nothing detect camera package name to unlock features like 48mp.
* Use TARGET_CAMERA_PACKAGE_NAME to specify the package name.
Signed-off-by: AnierinB <anierin@evolution-x.org>
The system tracks memory usage for each app, so we might as well show it
to the user so that users can track down which apps are hogging their
memory. This shouldn't be a developer-only feature that was previously
only exposed in Developer Options.
Change-Id: Ib900438f856369286b7621208020c5c8da73765f
Signed-off-by: AnierinB <anierin@evolution-x.org>
Original command redirected output to the android build out. However, a
handful of configs were still generated in the source tree. Set the
bazel flag output_root to redirect these configs to the android build
out as well.
Change-Id: I5181270b773a49d74eab00b89eaaf1187471a144
Squashed commit of the following:
commit b11f60fd9b601caa10f8caec5c9f3a10c5082d68
Author: Jared Duke <jdduke@google.com>
Date: Wed Feb 16 15:43:55 2022 -0800
Enable R8 code shrinking for system_server on Pixel
Opt in to whole-program Java optimizations via R8 for Pixel devices.
This can be explicitly disabled during builds via
`SYSTEM_OPTIMIZE_JAVA=false m`.
Note that this change only enables code shrinking for system_server,
and should not impact stack traces. Additional R8 optimizations
will be enabled after broader improvements to retracing infrastructure.
See go/aperf-system-r8-faq for additional details and guidance. Also
note that R8 shrinking optimizations are implicitly disabled in ENG builds.
Enabling for non-Pixel devices will proceed in stages as we flesh
out infrastructure and validate with test populations.
Results: services.jar (20MB -> 17MB)
Bug: 210510433
Test: m + atest FrameworksServicesTests + manual testing on Raven
Change-Id: I13c0674105aa2cab7722f52344486e86e3bde26b
commit ecc5901ee57253edb0fdde5d5099c4e1078f7b6f
Author: Jared Duke <jdduke@google.com>
Date: Tue Jan 4 15:21:39 2022 -0800
Enable SystemUI R8 optimizations for Pixel
Opt in to whole-program Java optimizations via R8 for Pixel devices.
This can be explicitly disabled during builds via
`SYSTEMUI_OPTIMIZE_JAVA=false m`.
Note that this change does introduce changes to stack traces that
may require retracing for fully accurate debugging and diagonstics.
See go/aperf-system-r8-faq for additional details and guidance. Also
note that optimizations are implicitly disabled in ENG builds.
Enabling for non-Pixel devices will proceed in stages as we flesh
out infrastructure and validate with test populations.
Results:
* SystemUIGoogle.apk (40MB -> 35MB)
* SystemUIGoogle.odex (32MB -> 25MB)
Test: m + atest SystemUITests + presubmit + manual testing on Raven
Bug: 203472868
Change-Id: I67ff2c06885b21164a3034e9922163337e8787f3
Change-Id: Ib89500d70780fdf8485aaf04976d4cc607b4ccf7
Not all devices support this feature.
If a device supports this feature, enable overlay in the device tree.
This partially reverts commit 7b6521c8a4.
Change-Id: Iece2b092d0fdcbb94c41c7727de799a0b7baa700