From a30a4806aca7f36fb416f485b332060b03a16c0b Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Wed, 8 Aug 2012 15:37:45 -0700 Subject: [PATCH] PackageParser: remove temporary code. This code isn't needed and wasn't doing what I thought it was doing. Bug: 3306452 Change-Id: Ifeab672e379fd331a6f0ef1504eebb29aa6b4466 --- core/java/android/content/pm/PackageParser.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/java/android/content/pm/PackageParser.java b/core/java/android/content/pm/PackageParser.java index 05bb8fc13fbb4..d906401bc0bb6 100644 --- a/core/java/android/content/pm/PackageParser.java +++ b/core/java/android/content/pm/PackageParser.java @@ -2452,16 +2452,6 @@ public class PackageParser { providerExportedDefault = true; } - if (((owner.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) - && (owner.applicationInfo.targetSdkVersion == Build.VERSION_CODES.JELLY_BEAN)) { - // STOPSHIP: REMOVE THIS IF BLOCK - // To expose more bugs, pre-installed system apps targeting API level 16 - // should not have their content providers exported by default. - // This is only a short term check, and should be removed when the - // default SDK version changes to 17. - providerExportedDefault = false; - } - p.info.exported = sa.getBoolean( com.android.internal.R.styleable.AndroidManifestProvider_exported, providerExportedDefault);