m8250-common: hbm: Add preference for time-based HBM disable
To specify a duration after which High Brightness Mode (HBM)
is automatically disabled if the lux level falls below the
defined threshold.
[EmanuelCN: Use thread sleep and recheck lux after timeToDisableHBM]
Signed-off-by: AnierinB <anierin@evolution-x.org>
sm8250-common: hbm: Deactivate the HBM tile when the screen turns off
When the screen is turned off, HBM will shut down and the HBM tile should become inactive.
sm8250-common: hbm: Refresh the QS brightness slider whenever the HBM is activated
The brightness slider should be set to 100% when the HBM is activated.
sm8250-common: hbm: Avoid writing to the backlight when turning off the HBM
Not needed.
sm8250-common: hbm: Include a 7-second delay when turning off the HBM
The HBM turning off while walking through a shadow was frustrating. Address this issue by verifying if the threshold has been reached after the 7-second delay.
sm8250-common: sepolicy: allow parts to get SettingsLib prop
ThermalSettingsFragment's use of ApplicationsState includes a
check of whether a package is an instant app or not. The function
isInstant() in AppUtils reads settingsdebug.instant.packages prop
to retrieve a list of instant packages for debugging purposes.
We do not actually use this property, but this check triggers an
SELinux denial for every package in the list and spams the logs
with permission denied errors. Get rid of these log spams by
allowing parts to read the prop.
Test: open the thermal profile settings and check logs
sm8250-common: sepolicy: Allow devicesettings write to vendor_sysfs_graphics
sm8250-common: Disable hbm thermal throttle
adapted to stone (sm6375)
Co-Authored-By: Emanuel <emanuelghub@gmail.com>
Co-Authored-By: maxwen <max.weninger@gmail.com>
Co-Authored-By: Hikari-no-Tenshi <16803494+Hikari-no-Tenshi@users.noreply.github.com>
Co-Authored-By: Anierin Bliss <anierin@evolution-x.org>
Co-Authored-By: Alec Chan <88945170+alecchangod@users.noreply.github.com>
Based on 10bit av1 for msmnile which can do up to 1080p60 10bit av1
without frame drops.
NOTE: YouTube app ignores perf limits
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
Switch and SwitchCompat are both CompoundButton.
Using CompoundButton in Java will helps migration in the future.
Bug: 306658427
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
W android.hardware.media.omx@1.0-service: Could not read additional policy file '/vendor/etc/seccomp_policy/mediacodec.policy'
W android.hardware.media.omx@1.0-service: Could not read additional policy file '/vendor/etc/seccomp_policy/mediaextractor.policy'
W android.hardware.media.omx@1.0-service: Could not read additional policy file '/vendor/etc/seccomp_policy/mediaswcodec.policy'
Signed-off-by: Nippon <adamayyad1999@hotmail.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
Qcom has issues that prevent it from working with a hermetic
partition build.
Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
The root location of this file is deprecated for Android T.
Bug: 189268918
Bug: 178221726
Test: device reaches boot complete after raising API level to 32
Change-Id: I97a6d2e5cacd0ac5eeb81daafeb8b1a0ad5c119b
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
It is inherited by base_system.mk as of QPR2
Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
Signed-off-by: mukesh22584 <mks22584@gmail.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
This is required on some devices with video mode panel, since the
scheduler sets refresh rate to 120 Hz _after_ turning screen off at
60 Hz (VRR idle) but the HWC ignores this and when the display is
turned back on SF thinks we are back at 120 Hz while HWC is still
rendering at 60 Hz. Defer setting refresh rate until the screen is
turned back on, to avoid this confusion.
Needed by CneApp.
dlopen failed: library "/system_ext/lib64/libvndfwk_detect_jni.qti.so" needed or dlopened by "/apex/com.android.art/lib64/libnativeloader.so" is not accessible for the namespace "vendor-clns-5"
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.
set new flag TARGET_DEBLOAT for optional remove_packages
this may be useful to debloat updater for unofficial roms. you can expand the list for any package, just write them in the Android.mk of remove_packages folder
Co-Authored-By: Michael Bestas <mikeNG@users.noreply.github.com>