From 098de48e2b5df53deffa6c4f588efbe50684f0f3 Mon Sep 17 00:00:00 2001 From: "smain@google.com" Date: Fri, 18 Mar 2016 14:39:31 -0700 Subject: [PATCH] rename "sdk version" to "api level" and add useful links Change-Id: I824492278c2673ff08ffb12932071f6bdc3798fa --- .../manifest/uses-permission-sdk-23-element.jd | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/html/guide/topics/manifest/uses-permission-sdk-23-element.jd b/docs/html/guide/topics/manifest/uses-permission-sdk-23-element.jd index ff45499850052..860d30fd0087c 100644 --- a/docs/html/guide/topics/manifest/uses-permission-sdk-23-element.jd +++ b/docs/html/guide/topics/manifest/uses-permission-sdk-23-element.jd @@ -19,14 +19,16 @@ parent.link=manifest-intro.html
Specifies that an app wants a particular permission, but only if - the app is running on a device with SDK version 23 or higher. If the device - is running SDK version 22 or lower, the app does not have the specified + the app is running on a device with API + level 23 or higher. If the device + is running API level 22 or lower, the app does not have the specified permission.

This element is useful when you update an app to include a new feature that requires an additional permission. If a user updates an app on a - device that is running SDK version 22 or lower, the system prompts the user + device that is running API level 22 or lower, the system prompts the user at install time to grant all new permissions that are declared in that update. If a new feature is minor enough, you may prefer to disable the feature altogether on those devices, so the user does not have to grant @@ -34,7 +36,9 @@ parent.link=manifest-intro.html <uses-permission-sdk-23> element instead of <uses-permission>, you can request the permission only if the app is running on - platforms that support the runtime permissions model, in which the user + platforms that support the runtime permissions + model, in which the user grants permissions to the app while it is running.