Skip to content

Commit a30a480

Browse files
committed
PackageParser: remove temporary code.
This code isn't needed and wasn't doing what I thought it was doing. Bug: 3306452 Change-Id: Ifeab672e379fd331a6f0ef1504eebb29aa6b4466
1 parent a7f86bf commit a30a480

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)