Lines Matching refs:permissions
2 page.tags="runtime permissions",androidm,marshmallow
4 page.metaDescription=Learn about runtime permissions and how they make it easier for users to insta…
32 "{@docRoot}guide/topics/security/permissions.html#normal-dangerous">Normal
41 permissions to apps while the app is running, not when they install the app.
43 install process, since the user does not need to grant permissions when they
47 permissions at any time, by going to the app's Settings screen.
51 System permissions are divided into two categories, <em>normal</em> and
56 <li>Normal permissions do not directly risk the user's privacy. If your app
61 <li>Dangerous permissions can give the app access to the user's confidential
70 "{@docRoot}guide/topics/security/permissions.html#normal-dangerous">Normal
76 dangerous permissions it needs in its app manifest, as described in <a href=
90 is 23 or higher: The app has to list the permissions in the manifest,
100 revoke permissions from any app at any time, even if the app targets a lower
109 for, and request, permissions. The Android framework provides similar methods
153 <h3 id="explain">Explain why the app needs permissions</h3>
156 <img src="{@docRoot}images/training/permissions/request_permission_dialog.png"
157 srcset="{@docRoot}images/training/permissions/request_permission_dialog.png 1x,
158 {@docRoot}images/training/permissions/request_permission_dialog_2x.png 2x"
202 <h3 id="make-the-request">Request the permissions you need</h3>
208 permissions. Your app passes the permissions it wants, and also
258 needs permissions</a>.
261 <h3 id="handle-response">Handle the permissions request response
265 When your app requests permissions, the system presents a dialog box to the
279 String permissions[], int[] grantResults) {
298 // permissions this app might request
304 "{@docRoot}guide/topics/security/permissions.html#perm-groups">permission
310 your app requests any other permissions in that group (that are listed in
323 in the same group. In addition, the grouping of permissions into groups may
325 on the assumption that particular permissions are or are not in the