libtinyxml2 10.1.0 update which landed in BP4A contains ABI
incompatible changes which cause runtime crashes.
Change-Id: Icc67da5f754b0bb30dce6192b1e520fdf1349ac5
Some devices with video mode panels experience refresh rate mismatches when the screen is turned off. Specifically:
- The scheduler sets the refresh rate to 120 Hz after the screen turns off at 60 Hz (VRR idle).
- However, the HWC ignores this change, resulting in SurfaceFlinger (SF) incorrectly assuming the device is at 120 Hz when the display is turned back on.
- This causes a mismatch, as HWC continues rendering at 60 Hz, leading to inconsistencies.
To enable this behavior, set the following property:
- `debug.sf.defer_refresh_rate_when_off=1`
Change-Id: I46fd9e6b983138c1f625d52a65451eb04ce42820
Android 16 QPR1 + M3E changes the inflation and lifecycle timing of
PreferenceFragmentCompat layouts, resulting in internal RecyclerView
being created later than before.
As a result, PreferenceFragmentCompat.setDivider() can be invoked
before the internal RecyclerView exists thus causing below NPE:
11-25 18:06:19.705 7903 7903 E AndroidRuntime: FATAL EXCEPTION: main
11-25 18:06:19.705 7903 7903 E AndroidRuntime: Process: org.lineageos.lineageparts, PID: 7903
11-25 18:06:19.705 7903 7903 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.recyclerview.widget.RecyclerView.invalidateItemDecorations()' on a null object reference
11-25 18:06:19.705 7903 7903 E AndroidRuntime: at androidx.preference.PreferenceFragmentCompat$DividerDecoration.setDivider(PreferenceFragmentCompat.java:909)
11-25 18:06:19.705 7903 7903 E AndroidRuntime: at androidx.preference.PreferenceFragmentCompat.setDivider(PreferenceFragmentCompat.java:247)
11-25 18:06:19.705 7903 7903 E AndroidRuntime: at com.android.settingslib.widget.SettingsBasePreferenceFragment.onViewCreated(SettingsBasePreferenceFragment.kt:47)
11-25 18:06:19.705 7903 7903 E AndroidRuntime: at org.lineageos.lineageparts.SettingsPreferenceFragment.onViewCreated(SettingsPreferenceFragment.java:156)
11-25 18:06:19.705 7903 7903 E AndroidRuntime: at org.lineageos.lineageparts.profiles.SetupTriggersFragment.onViewCreated(SetupTriggersFragment.java:89)
11-25 18:06:19.705 7903 7903 E AndroidRuntime: at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:3099)
11-25 18:06:19.705 7903 7903 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:607)
11-25 18:06:19.705 7903 7903 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:285)
(...)
# 11-25 18:06:19.705 7903 7903 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:9041)
# 11-25 18:06:19.705 7903 7903 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-25 18:06:19.705 7903 7903 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
11-25 18:06:19.705 7903 7903 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
11-25 18:06:19.727 2241 6629 W ActivityTaskManager: Force finishing activity org.lineageos.lineageparts/.PartsActivity
Test: Open System profiles settings, create a new profile and verify
that the activity no longer crashes.
Change-Id: Ifb741011baaa6d721d0ca0db2d68d30037eb8930
The per-process limit for the mlock() family of system calls only
needs to be set in one group of config files. Remove from here as it
is being set in init.qcom.rc.
Change-Id: Ia7d46800eabe2954e3e2618a38ff180c88fee348
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
This fixes the following error while building:
SELinux: The following public types were found added to the policy without an entry into the compatibility mapping file(s) found in private/compat/V.v/V.v[.ignore].cil, where V.v is the latest API level.
devicesettings_app settingslib_prop
Co-authored-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: Ghosuto <clash.raja10@gmail.com>
Fixes:
W HidlServiceManagement: Waited one second for android.frameworks.sensorservice@1.0::ISensorManager/default
I hwservicemanager: Since android.frameworks.sensorservice@1.0::ISensorManager/default is not registered, trying to start it as a lazy HAL.
I HidlServiceManagement: getService: Trying again for android.frameworks.sensorservice@1.0::ISensorManager/default...
W libc : Unable to set property ctl.interface_start to android.frameworks.sensorservice@1.0::ISensorManager/default: error code: 0x20
Change-Id: If6fdef9dc39daaba9138fe3f8acf06cb6a0e78f8
- Helps fix java.lang.OutOfMemoryError: Failed to allocate a 24 byte
allocation with 2582544 free bytes and 2522KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC
* Support commit for this change is here 4db7648eaec53b6f9f68643876e361240fe00af7.
* this prevents the sudden brightness increase in white screens in auto brightness mode.
- fixed delay of auto brightness mode.
- The problem with auto brightness is In night time You keep your brightness at below 5-10% for obvious reasons, Then you decide to view any white screen ( it could be manga , wallpaper, video anything) the brightness will increase drastically causing pain in eyes
* E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
* This gives proper permission to /dev/diag node so that diag driver can load successfully
Change-Id: I51cf76188ebe57b0c5c27d5c6236049f3ca9170c
* Needed only for user build
* Guard do not use for userdebug/eng build
Co-Authored-By: Tiernan Hubble <thubble@thubble.ca>
Co-Authored-By: TogoFire <togofire@mailfence.com>
I QC2Buf : Buffer 0xf3041d10 imported as 0xf3042690
W QC2V4l2Codec: [avcD_13] unknown/unsupported param Output::HdrStaticMetadata index = 0xD200180A
Change-Id: I5de137760aa0ffb5cb52a12ae074c2862de24a40
We should disable debug.sf.enable_hwc_vds and
enable vendor.display.vds_allow_hwc
to allow only wfd to go through hwc path.
Change-Id: I67a96fc749dcc7c3fe77ed7c325004c03ba0b38f
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
As preparation to upgrade the sdk get rid of this private class.
Fragments must be a public static class to be properly recreated from instance state.
Also change the behaviour to only hide the dialog when confirmed instead of also when it is cancelled.
Change-Id: I171aa2345058edae7520c37942c3c11b3cdfdfdc
Using the value from xiaomi changes is out of bounds since [1]
it reduces the value limit, so if using the value from xiaomi
it will fallback and use the default value. If we use the max
value it causes internet connection problems when using wifi,
so let it use the default value.
[1]: b64278b0a5
Change-Id: I7f6ef4d96ce40d123526ae1b951b544f52d28ff9
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>