mirror of
https://github.com/ponces/treble_aosp.git
synced 2025-04-21 13:20:21 +00:00
.github
build
config
patches
personal
trebledroid
platform_bionic
platform_bootable_recovery
platform_build
platform_external_selinux
platform_frameworks_av
platform_frameworks_base
0001-Disable-vendor-mismatch-warning.patch
0002-Fallback-to-stupid-autobrightness-if-brightness-valu.patch
0003-Fix-env-empty-string-ANDROID_STORAGE.patch
0004-Relax-requirement-for-visible-flag-to-sdcards.patch
0005-Don-t-crash-if-there-is-IR-HAL-is-not-declared.patch
0006-Implement-a-persistent-property-to-override-the-defa.patch
0007-Show-APN-Settings-for-CDMA-carriers.patch
0008-Re-order-services-so-that-it-works-even-without-qtag.patch
0009-Support-samsung-Pie-and-Q-light-hal.patch
0010-Add-support-for-samsung-touch-physical-and-hover-pro.patch
0011-Always-allow-overriding-the-number-of-work-profiles.patch
0012-HOME-deserves-to-wake-up-devices-just-as-well-as-bac.patch
0013-Some-devices-have-proximity-sensor-reporting-NaN-as-.patch
0014-Fix-brightness-range-not-being-complete-on-Samsung-d.patch
0015-Re-implement-fnmatch-like-behaviour-for-RRO-java-sid.patch
0016-Remove-useless-notification-about-console-service-be.patch
0017-Revert-Remove-unused-SystemProperties.set.patch
0018-TelephonyManager-bring-back-getNetworkClass.patch
0019-TelephonyManager-add-API-annotations-for-setTelephon.patch
0020-Automatically-detect-pick-up-sensor-so-that-an-overl.patch
0021-Catch-broken-mainBuiltInDisplayCutoutRectApproximati.patch
0022-backlight-Fix-backlight-control-on-Galaxy-S9.patch
0023-Revert-Switch-long-press-power-behavior-in-AOSP.patch
0024-Allow-disabling-of-fingerprint-cleanups-needed-on-so.patch
0025-Dynamically-resize-boot-animation-to-match-screen-si.patch
0026-Revert-Remove-more-FDE-methods-from-StorageManager.patch
0027-SystemUI-Use-AVCProfileMain-for-screen-recorder.patch
0028-Set-old-fingerprint-sensors-to-security-strong.patch
0029-Call-Samsung-s-ISehSysInputDev-to-report-screen-stat.patch
0030-Try-catch-around-constrainNitsAndBacklightArrays-and.patch
0031-Add-Mediatek-power-hints-on-touch.patch
0032-Detect-Moto-dynamic-hardware-feature.patch
0033-Restore-getSimStateForSlotIndex-in-SubscriptionManag.patch
0034-Add-runWithCleanCallingIdentity-variant-with-both-ex.patch
0035-Catch-NPE-in-SystemUI.patch
0036-Once-we-integrate-Samsung-Power-hal-in-libpowermanag.patch
0037-FOD-support-for-Asus-Samsung-recent-Xiaomi-and-RedMa.patch
0038-Fix-brightness-slider-curve-for-some-devices.patch
0039-Ignore-cgroup-creation-errors.patch
0040-Samsung-tablets-use-SW_MACHINE_COVER-rather-than-SW_.patch
0041-Add-a-prop-to-use-linear-backlight-control.patch
0042-Add-support-for-Samsung-full-brightness-on-their-AID.patch
0043-Add-Samsung-sysinput.patch
0044-Bunch-of-FOD-stuff-commonize-refreshing-the-services.patch
0045-Some-Samsung-devices-use-SW_FLIP-0x15-rather-than-SW.patch
0046-Include-vendor.samsung.hardware.radio.network-V1-jav.patch
0047-Include-vendor.samsung.hardware.radio-V2.2-java-HIDL.patch
0048-Allow-signature-spoofing-for-microG-Companion-Servic.patch
0049-Don-t-crash-system_server-if-we-fail-to-parse-dynami.patch
0050-Add-a-prop-to-disable-animation-in-for-sysui-media-c.patch
0051-Allow-APKs-of-a-certain-signature-to-install-work-li.patch
0052-Add-support-for-treating-virtual-biometric-sensors-a.patch
0053-Allow-spoofing-signingInfo-for-microG-Companion-Serv.patch
0054-Revert-Don-t-crash-system_server-if-we-fail-to-parse.patch
0055-Revert-Bunch-of-FOD-stuff-commonize-refreshing-the-s.patch
0056-Revert-FOD-support-for-Asus-Samsung-recent-Xiaomi-an.patch
platform_frameworks_native
platform_frameworks_opt_net_ims
platform_frameworks_opt_telephony
platform_hardware_interfaces
platform_packages_apps_Settings
platform_packages_modules_Bluetooth
platform_packages_modules_Connectivity
platform_packages_modules_DeviceLock
platform_packages_modules_DnsResolver
platform_packages_modules_Wifi
platform_packages_modules_vndk
platform_system_apex
platform_system_bpf
platform_system_core
platform_system_extras
platform_system_linkerconfig
platform_system_netd
platform_system_nfc
platform_system_sepolicy
platform_system_vold
LICENSE
README.md
build.sh
patch.sh
sign.sh
sync.sh
32 lines
1.4 KiB
Diff
32 lines
1.4 KiB
Diff
From 53df518ab44b7a8919d1ffcfa2dfac44fb3a60a3 Mon Sep 17 00:00:00 2001
|
|
From: Pierre-Hugues Husson <phh@phh.me>
|
|
Date: Fri, 6 Oct 2023 10:57:13 -0400
|
|
Subject: [PATCH 35/56] Catch NPE in SystemUI
|
|
|
|
No idea why it triggers, but it crashes SystemUI on boot for my TV
|
|
device
|
|
---
|
|
.../com/android/systemui/keyguard/KeyguardViewMediator.java | 6 +++++-
|
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
|
|
index 9f131607cb99..f60ad628cbe6 100644
|
|
--- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
|
|
+++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
|
|
@@ -3693,7 +3693,11 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
|
|
Trace.beginSection("KeyguardViewMediator#handleMotifyStartedWakingUp");
|
|
synchronized (KeyguardViewMediator.this) {
|
|
if (DEBUG) Log.d(TAG, "handleNotifyWakingUp");
|
|
- mKeyguardViewControllerLazy.get().onStartedWakingUp();
|
|
+ try {
|
|
+ mKeyguardViewControllerLazy.get().onStartedWakingUp();
|
|
+ } catch(Throwable t) {
|
|
+ android.util.Log.e("PHH", "handleNotifyStartedWakingUp crashed bip", t);
|
|
+ }
|
|
}
|
|
Trace.endSection();
|
|
}
|
|
--
|
|
2.43.0
|
|
|