-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Salini Venate <[email protected]>
- Loading branch information
1 parent
784d657
commit 3bdfc3b
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
aosp_diff/preliminary/frameworks/base/67_0067-Min-sdk-version-to-JELLY_BEAN.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,26 @@ | ||
From dadb2ecc730c7df8bd3c100c85b25fa87d581b9f Mon Sep 17 00:00:00 2001 | ||
From: Salini Venate <[email protected]> | ||
Date: Mon, 14 Oct 2024 09:09:22 +0000 | ||
Subject: [PATCH] Min sdk version to JELLY_BEAN | ||
|
||
Signed-off-by: Salini Venate <[email protected]> | ||
--- | ||
.../core/java/com/android/server/pm/PackageManagerService.java | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java | ||
index c583f1767b41..cc32bf969066 100644 | ||
--- a/services/core/java/com/android/server/pm/PackageManagerService.java | ||
+++ b/services/core/java/com/android/server/pm/PackageManagerService.java | ||
@@ -568,7 +568,7 @@ public class PackageManagerService implements PackageSender, TestUtilityService | ||
* target sdk apps as malware can target older sdk versions to avoid | ||
* the enforcement of new API behavior. | ||
*/ | ||
- public static final int MIN_INSTALLABLE_TARGET_SDK = Build.VERSION_CODES.M; | ||
+ public static final int MIN_INSTALLABLE_TARGET_SDK = Build.VERSION_CODES.JELLY_BEAN; | ||
|
||
// Compilation reasons. | ||
// TODO(b/260124949): Clean this up with the legacy dexopt code. | ||
-- | ||
2.34.1 | ||
|