summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Solovay <asolovay@google.com>2015-08-22 00:30:59 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-08-22 00:30:59 +0000
commit9520071b983e2ca61160f580e0be3fe24d305760 (patch)
treef2b177cec2a4f9e6d1cbfa237a5d846018d508e1
parenta7dde2e89ec9a8c0ce5460d4f57d1e561f16520f (diff)
parent4276a8fb25071aa0e471a5afc0764987db79cc49 (diff)
downloadframeworks_base-9520071b983e2ca61160f580e0be3fe24d305760.zip
frameworks_base-9520071b983e2ca61160f580e0be3fe24d305760.tar.gz
frameworks_base-9520071b983e2ca61160f580e0be3fe24d305760.tar.bz2
Merge "docs: Fix return info for support lib checkSelfPermission()" into mnc-dev
-rw-r--r--docs/html/preview/features/runtime-permissions.jd7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/html/preview/features/runtime-permissions.jd b/docs/html/preview/features/runtime-permissions.jd
index 8ab7619..62e49b9 100644
--- a/docs/html/preview/features/runtime-permissions.jd
+++ b/docs/html/preview/features/runtime-permissions.jd
@@ -916,8 +916,11 @@ $ adb pm revoke &lt;package_name&gt; &lt;permission_name&gt;
</dt>
<dd>
- Returns <code>true</code> if the app has the specified permission, whether
- or not the device is using the M Preview.
+ Returns {@link android.content.pm.PackageManager#PERMISSION_GRANTED
+ PERMISSION_GRANTED} if the app has the specified permission, whether
+ or not the device is using the M Preview. If the app does not have the
+ specified permission, returns {@link
+ android.content.pm.PackageManager#PERMISSION_DENIED PERMISSION_DENIED}.
</dd>
<dt>