Home
last modified time | relevance | path

Searched refs:supportsRuntimePermissions (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/tests/cts/permissionui/UsePermissionAppLatest/src/android/permissionui/cts/usepermission/
DCheckCalendarAccessActivity.kt31 val supportsRuntimePermissions = applicationInfo.targetSdkVersion >= Build.VERSION_CODES.M in onCreate() constant
49 if (supportsRuntimePermissions) { in onCreate()
59 assert(supportsRuntimePermissions) in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DPermission.java332 public boolean isGrantingAllowed(boolean isEphemeralApp, boolean supportsRuntimePermissions) { in isGrantingAllowed() argument
334 && (supportsRuntimePermissions || !isRuntimeOnly()); in isGrantingAllowed()