From 7263a6fd6e7abcf88d394af7016c3a606e9de3c7 Mon Sep 17 00:00:00 2001 From: Tad Date: Sun, 16 Apr 2023 14:18:48 -0400 Subject: [PATCH] Churn Signed-off-by: Tad --- .../0004-Fingerprint_Lockout.patch | 2 +- .../0007-Always_Restict_Serial.patch | 2 +- .../0013-Special_Permissions-3.patch | 4 ++-- .../0013-Special_Permissions-5.patch | 6 ++--- .../0029-Strict_Package_Checks-2.patch | 4 ++-- .../0001-Private_DNS.patch | 2 +- .../0001-Remove_Analytics.patch | 6 ++--- .../0003-ptrace_scope-2.patch | 4 ++-- PrebuiltApps | 2 +- Scripts/LineageOS-19.1/Functions.sh | 3 +-- Scripts/LineageOS-19.1/Patch.sh | 4 ---- .../android_kernel_fairphone_sm7225.sh | 3 +-- ...d_kernel_google_gs101_private_gs-google.sh | 5 +--- ...d_kernel_google_gs201_private_gs-google.sh | 5 +--- .../android_kernel_google_redbull.sh | 3 +-- .../android_kernel_oneplus_sm8250.sh | 3 +-- .../android_kernel_oneplus_sm8350.sh | 24 +------------------ 17 files changed, 23 insertions(+), 59 deletions(-) diff --git a/Patches/LineageOS-20.0/android_frameworks_base/0004-Fingerprint_Lockout.patch b/Patches/LineageOS-20.0/android_frameworks_base/0004-Fingerprint_Lockout.patch index 5bbba95e..b54c5627 100644 --- a/Patches/LineageOS-20.0/android_frameworks_base/0004-Fingerprint_Lockout.patch +++ b/Patches/LineageOS-20.0/android_frameworks_base/0004-Fingerprint_Lockout.patch @@ -9,7 +9,7 @@ Signed-off-by: anupritaisno1 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/LockoutFrameworkImpl.java b/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/LockoutFrameworkImpl.java -index a0befea8e085..f884fe4654b4 100644 +index a0befea8e085..49c2e305421f 100644 --- a/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/LockoutFrameworkImpl.java +++ b/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/LockoutFrameworkImpl.java @@ -41,7 +41,7 @@ public class LockoutFrameworkImpl implements LockoutTracker { diff --git a/Patches/LineageOS-20.0/android_frameworks_base/0007-Always_Restict_Serial.patch b/Patches/LineageOS-20.0/android_frameworks_base/0007-Always_Restict_Serial.patch index 0f5bdd86..c3455647 100644 --- a/Patches/LineageOS-20.0/android_frameworks_base/0007-Always_Restict_Serial.patch +++ b/Patches/LineageOS-20.0/android_frameworks_base/0007-Always_Restict_Serial.patch @@ -10,7 +10,7 @@ requiring the READ_PHONE_STATE permission. 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java -index 5d4dc39341a1..950a13f1e025 100644 +index 1428fa853f2a..f9f042ea6517 100644 --- a/services/core/java/com/android/server/am/ActivityManagerService.java +++ b/services/core/java/com/android/server/am/ActivityManagerService.java @@ -4822,12 +4822,7 @@ public class ActivityManagerService extends IActivityManager.Stub diff --git a/Patches/LineageOS-20.0/android_frameworks_base/0013-Special_Permissions-3.patch b/Patches/LineageOS-20.0/android_frameworks_base/0013-Special_Permissions-3.patch index 909bce99..344e4232 100644 --- a/Patches/LineageOS-20.0/android_frameworks_base/0013-Special_Permissions-3.patch +++ b/Patches/LineageOS-20.0/android_frameworks_base/0013-Special_Permissions-3.patch @@ -99,10 +99,10 @@ index 714bf540468c..17d35cee6e53 100644 /** diff --git a/services/core/java/com/android/server/pm/pkg/parsing/ParsingPackageUtils.java b/services/core/java/com/android/server/pm/pkg/parsing/ParsingPackageUtils.java -index 7ce7f7ebf6cc..2c1eed855404 100644 +index 810fa5f1e4b3..17ac255e60f6 100644 --- a/services/core/java/com/android/server/pm/pkg/parsing/ParsingPackageUtils.java +++ b/services/core/java/com/android/server/pm/pkg/parsing/ParsingPackageUtils.java -@@ -2213,6 +2213,8 @@ public class ParsingPackageUtils { +@@ -2221,6 +2221,8 @@ public class ParsingPackageUtils { pkg.setHasDomainUrls(hasDomainURLs(pkg)); diff --git a/Patches/LineageOS-20.0/android_frameworks_base/0013-Special_Permissions-5.patch b/Patches/LineageOS-20.0/android_frameworks_base/0013-Special_Permissions-5.patch index 32628fb9..ebfc727c 100644 --- a/Patches/LineageOS-20.0/android_frameworks_base/0013-Special_Permissions-5.patch +++ b/Patches/LineageOS-20.0/android_frameworks_base/0013-Special_Permissions-5.patch @@ -99,10 +99,10 @@ index 000000000000..efd48cb49aa3 + private SpecialRuntimePermAppUtils() {} +} diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java -index 8bf821dfe428..d6c501c0e8ce 100644 +index 35be1bf7e005..59c534ae07b7 100644 --- a/services/core/java/com/android/server/pm/PackageManagerService.java +++ b/services/core/java/com/android/server/pm/PackageManagerService.java -@@ -213,6 +213,7 @@ import com.android.server.pm.permission.LegacyPermissionManagerInternal; +@@ -214,6 +214,7 @@ import com.android.server.pm.permission.LegacyPermissionManagerInternal; import com.android.server.pm.permission.LegacyPermissionManagerService; import com.android.server.pm.permission.PermissionManagerService; import com.android.server.pm.permission.PermissionManagerServiceInternal; @@ -110,7 +110,7 @@ index 8bf821dfe428..d6c501c0e8ce 100644 import com.android.server.pm.pkg.PackageStateInternal; import com.android.server.pm.pkg.PackageUserState; import com.android.server.pm.pkg.PackageUserStateInternal; -@@ -6085,6 +6086,24 @@ public class PackageManagerService implements PackageSender, TestUtilityService +@@ -6090,6 +6091,24 @@ public class PackageManagerService implements PackageSender, TestUtilityService getPerUidReadTimeouts(snapshot) ).doDump(snapshot, fd, pw, args); } diff --git a/Patches/LineageOS-20.0/android_frameworks_base/0029-Strict_Package_Checks-2.patch b/Patches/LineageOS-20.0/android_frameworks_base/0029-Strict_Package_Checks-2.patch index 7663d801..ea16e629 100644 --- a/Patches/LineageOS-20.0/android_frameworks_base/0029-Strict_Package_Checks-2.patch +++ b/Patches/LineageOS-20.0/android_frameworks_base/0029-Strict_Package_Checks-2.patch @@ -11,10 +11,10 @@ Subject: [PATCH] perform additional boot-time checks on system package updates create mode 100644 services/core/java/com/android/server/pm/PackageVerityExt.java diff --git a/services/core/java/com/android/server/pm/InstallPackageHelper.java b/services/core/java/com/android/server/pm/InstallPackageHelper.java -index 7da5f51bcbc2..45fbd95e19d4 100644 +index 64a9a563e4a2..4d82581e2389 100644 --- a/services/core/java/com/android/server/pm/InstallPackageHelper.java +++ b/services/core/java/com/android/server/pm/InstallPackageHelper.java -@@ -3781,6 +3781,13 @@ final class InstallPackageHelper { +@@ -3785,6 +3785,13 @@ final class InstallPackageHelper { @Nullable UserHandle user) throws PackageManagerException { final boolean scanSystemPartition = (parseFlags & ParsingPackageUtils.PARSE_IS_SYSTEM_DIR) != 0; diff --git a/Patches/LineageOS-20.0/android_frameworks_libs_net/0001-Private_DNS.patch b/Patches/LineageOS-20.0/android_frameworks_libs_net/0001-Private_DNS.patch index c72e2c9a..7e52cbfd 100644 --- a/Patches/LineageOS-20.0/android_frameworks_libs_net/0001-Private_DNS.patch +++ b/Patches/LineageOS-20.0/android_frameworks_libs_net/0001-Private_DNS.patch @@ -16,7 +16,7 @@ Change-Id: Ide577115925a2a4991332524f670899f4d33f2a3 1 file changed, 91 insertions(+) diff --git a/common/framework/com/android/net/module/util/ConnectivitySettingsUtils.java b/common/framework/com/android/net/module/util/ConnectivitySettingsUtils.java -index b7eb70b..3e8dd2e 100644 +index b7eb70b0..3e8dd2e2 100644 --- a/common/framework/com/android/net/module/util/ConnectivitySettingsUtils.java +++ b/common/framework/com/android/net/module/util/ConnectivitySettingsUtils.java @@ -32,10 +32,36 @@ public class ConnectivitySettingsUtils { diff --git a/Patches/LineageOS-20.0/android_packages_apps_SetupWizard/0001-Remove_Analytics.patch b/Patches/LineageOS-20.0/android_packages_apps_SetupWizard/0001-Remove_Analytics.patch index 65448930..d13f89ea 100644 --- a/Patches/LineageOS-20.0/android_packages_apps_SetupWizard/0001-Remove_Analytics.patch +++ b/Patches/LineageOS-20.0/android_packages_apps_SetupWizard/0001-Remove_Analytics.patch @@ -52,7 +52,7 @@ index 5d206e4..db3594a 100644