Searched refs:legacyApp (Results 1 – 2 of 2) sorted by relevance
354 protected void revokePermissions(String[] permissions, boolean legacyApp) throws Exception { in revokePermissions() argument355 setPermissionGrantState(permissions, false, legacyApp); in revokePermissions()370 boolean legacyApp) throws Exception { in setPermissionGrantState() argument437 if (wasGranted && legacyApp) { in setPermissionGrantState()
381 public static void assertMediaNoAccess(ContentResolver resolver, boolean legacyApp) in assertMediaNoAccess() argument390 if (legacyApp) { in assertMediaNoAccess()