Skip to content

Commit

Permalink
Min sdk version to Jelly_bean
Browse files Browse the repository at this point in the history
Signed-off-by: Salini Venate <[email protected]>
  • Loading branch information
SaliniVenate committed Oct 14, 2024
1 parent 784d657 commit 3bdfc3b
Showing 1 changed file with 26 additions and 0 deletions.
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

0 comments on commit 3bdfc3b

Please sign in to comment.