Skip to content

Commit 5a28605

Browse files
nickkralAndroid (Google) Code Review
authored andcommitted
Merge "PackageParser: remove temporary code." into jb-mr1-dev
2 parents 8264408 + a30a480 commit 5a28605

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

core/java/android/content/pm/PackageParser.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2452,16 +2452,6 @@ private Provider parseProvider(Package owner, Resources res,
24522452
providerExportedDefault = true;
24532453
}
24542454

2455-
if (((owner.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0)
2456-
&& (owner.applicationInfo.targetSdkVersion == Build.VERSION_CODES.JELLY_BEAN)) {
2457-
// STOPSHIP: REMOVE THIS IF BLOCK
2458-
// To expose more bugs, pre-installed system apps targeting API level 16
2459-
// should not have their content providers exported by default.
2460-
// This is only a short term check, and should be removed when the
2461-
// default SDK version changes to 17.
2462-
providerExportedDefault = false;
2463-
}
2464-
24652455
p.info.exported = sa.getBoolean(
24662456
com.android.internal.R.styleable.AndroidManifestProvider_exported,
24672457
providerExportedDefault);

0 commit comments

Comments
 (0)