This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
forked from AndyCGYan/lineage_build_unified
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Sync with latest sources of TrebleDroid and Pixel Experience (c…
…i-20230830,ci-20230905)
- Loading branch information
Showing
47 changed files
with
307 additions
and
115 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
...reble-Force-enable-Wireless-Display.patch → ...003-treble-Force-enable-WifiDisplay.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 0 additions & 63 deletions
63
.../platform_frameworks_base/0001-Make-rounded-corners-padding-overridable-with-persis.patch
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0001-Revert-Biometrics-Allow-disabling-of-fingerprint-cle.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0002-Revert-udfps-Restore-illumination-dot-for-global-hbm.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0003-Revert-AuthService-Add-support-for-workaround-side-f.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
.../platform_frameworks_base/0004-Revert-core-pm-Allow-wildcard-in-RRO-system-property.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
From 7bba06b86b03fcf3f673f4099f61c3ef043c9d1c Mon Sep 17 00:00:00 2001 | ||
From: Alberto Ponces <ponces26@gmail.com> | ||
Date: Wed, 13 Sep 2023 11:24:15 +0000 | ||
Subject: [PATCH 4/4] Revert "core: pm: Allow wildcard in RRO system property | ||
value checks" | ||
|
||
This reverts commit 2d8e30614ff873ee83203a92eba62f263a001eee. | ||
--- | ||
.../pm/parsing/FrameworkParsingPackageUtils.java | 16 ++++------------ | ||
1 file changed, 4 insertions(+), 12 deletions(-) | ||
|
||
diff --git a/core/java/android/content/pm/parsing/FrameworkParsingPackageUtils.java b/core/java/android/content/pm/parsing/FrameworkParsingPackageUtils.java | ||
index b75ba82ad091..3e1c5bb3d7ec 100644 | ||
--- a/core/java/android/content/pm/parsing/FrameworkParsingPackageUtils.java | ||
+++ b/core/java/android/content/pm/parsing/FrameworkParsingPackageUtils.java | ||
@@ -186,8 +186,8 @@ public class FrameworkParsingPackageUtils { | ||
* Returns {@code true} if both the property name and value are empty or if the given system | ||
* property is set to the specified value. Properties can be one or more, and if properties are | ||
* more than one, they must be separated by comma, and count of names and values must be equal, | ||
- * and also every given system property must be set to the corresponding value or it's a | ||
- * wildcard. In all other cases, returns {@code false} | ||
+ * and also every given system property must be set to the corresponding value. | ||
+ * In all other cases, returns {@code false} | ||
*/ | ||
public static boolean checkRequiredSystemProperties(@Nullable String rawPropNames, | ||
@Nullable String rawPropValues) { | ||
@@ -213,17 +213,9 @@ public class FrameworkParsingPackageUtils { | ||
return false; | ||
} | ||
for (int i = 0; i < propNames.length; i++) { | ||
+ // Check property value: make sure it is both set and equal to expected value | ||
final String currValue = SystemProperties.get(propNames[i]); | ||
- // 1. Make sure prop is set. | ||
- if (currValue == null) { | ||
- return false; | ||
- } | ||
- // 2. Check next prop if expected value is a wildcard. | ||
- if ("*".equals(propValues[i])) { | ||
- continue; | ||
- } | ||
- // 3. Check if prop is equal to expected value. | ||
- if (!currValue.equals(propValues[i])) { | ||
+ if (!TextUtils.equals(currValue, propValues[i])) { | ||
return false; | ||
} | ||
} | ||
-- | ||
2.34.1 | ||
|
2 changes: 1 addition & 1 deletion
2
patches/trebledroid/platform_frameworks_base/0001-Disable-vendor-mismatch-warning.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0002-Fallback-to-stupid-autobrightness-if-brightness-valu.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
patches/trebledroid/platform_frameworks_base/0003-Fix-env-empty-string-ANDROID_STORAGE.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...es/trebledroid/platform_frameworks_base/0005-Add-support-for-app-signature-spoofing.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...edroid/platform_frameworks_base/0006-Don-t-crash-if-there-is-IR-HAL-is-not-declared.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0007-Implement-a-persistent-property-to-override-the-defa.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
patches/trebledroid/platform_frameworks_base/0008-Show-APN-Settings-for-CDMA-carriers.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0009-Re-order-services-so-that-it-works-even-without-qtag.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
patches/trebledroid/platform_frameworks_base/0010-Support-samsung-Pie-and-Q-light-hal.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0011-Add-support-for-samsung-touch-physical-and-hover-pro.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...d/platform_frameworks_base/0012-Always-allow-overriding-the-number-of-work-profiles.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0013-HOME-deserves-to-wake-up-devices-just-as-well-as-bac.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0014-Some-devices-have-proximity-sensor-reporting-NaN-as-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0015-Fix-brightness-range-not-being-complete-on-Samsung-d.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0016-Re-implement-fnmatch-like-behaviour-for-RRO-java-sid.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0017-Remove-useless-notification-about-console-service-be.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...trebledroid/platform_frameworks_base/0018-Revert-Remove-unused-SystemProperties.set.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ebledroid/platform_frameworks_base/0019-TelephonyManager-bring-back-getNetworkClass.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0020-TelephonyManager-add-API-annotations-for-setTelephon.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
patches/trebledroid/platform_frameworks_base/0021-Fix-Wakelock-issue.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0022-Automatically-detect-pick-up-sensor-so-that-an-overl.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0023-Catch-broken-mainBuiltInDisplayCutoutRectApproximati.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...bledroid/platform_frameworks_base/0024-backlight-Fix-backlight-control-on-Galaxy-S9.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...droid/platform_frameworks_base/0025-Revert-Switch-long-press-power-behavior-in-AOSP.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../platform_frameworks_base/0026-Once-we-integrate-Samsung-Power-hal-in-libpowermanag.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.