From dc2c1a0f80042c42768fd868791e21412c3839b9 Mon Sep 17 00:00:00 2001
From: Scott Main
A basic Android application has no permissions associated with it, +
A basic Android application has no permissions associated with it by default,
meaning it can not do anything that would adversely impact the user experience
or any data on the device. To make use of protected features of the device,
you must include in your AndroidManifest.xml one or more
@@ -165,6 +166,33 @@ your broadcast or who can send a broadcast to you.
+
+
Caution: Over time, +new restrictions may be added to the platform such that, in order +to use certain APIs, your app must request a permission that it previously did not need. +Because existing apps assume access to those APIs is freely available, +Android may apply the new permission request to the app's manifest to avoid +breaking the app on the new platform version. +Android makes the decision as to whether an app might need the permission based on +the value provided for the {@code targetSdkVersion} +attribute. If the value is lower than the version in which the permission was added, then +Android adds the permission.
+For example, the {@link android.Manifest.permission#WRITE_EXTERNAL_STORAGE} permission was +added in API level 4 to restrict access to the shared storage space. If your {@code targetSdkVersion} +is 3 or lower, this permission is added to your app on newer versions of Android.
+Beware that if this happens to your app, your app listing on Google Play will show these +required permissions even though your app might not actually require them.
+To avoid this and remove the default permissions you don't need, always update your {@code targetSdkVersion} +to be as high as possible. You can see which permissions were added with each release in the +{@link android.os.Build.VERSION_CODES} documentation.
+