am b4c4f4c7: am 5a286051: Merge "PackageParser: remove temporary code." into jb-mr1-dev

* commit 'b4c4f4c74de3be5a45629a0c17b46e796c98df05':
  PackageParser: remove temporary code.
This commit is contained in:
Nick Kralevich
2012-08-08 17:23:14 -07:00
committed by Android Git Automerger

View File

@@ -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);