diff options
author | Andrew Solovay <asolovay@google.com> | 2015-08-22 00:30:59 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-08-22 00:30:59 +0000 |
commit | 9520071b983e2ca61160f580e0be3fe24d305760 (patch) | |
tree | f2b177cec2a4f9e6d1cbfa237a5d846018d508e1 /docs/html | |
parent | a7dde2e89ec9a8c0ce5460d4f57d1e561f16520f (diff) | |
parent | 4276a8fb25071aa0e471a5afc0764987db79cc49 (diff) | |
download | frameworks_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
Diffstat (limited to 'docs/html')
-rw-r--r-- | docs/html/preview/features/runtime-permissions.jd | 7 |
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 <package_name> <permission_name> </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> |