From 7903df8875d9cac7b7ea5fe673127460fa3af1c1 Mon Sep 17 00:00:00 2001 From: Yuting Fang Date: Wed, 6 Mar 2024 05:51:13 +0000 Subject: Conditionally show permission grant dialog on a remote device This CL includes following changes: 1) Currently we can show the permission grant dialog on a remote device only when the requested permissions are device aware and requested for the remote device. Otherwise we show a warning dialog. Screenshot: https://screenshot.googleplex.com/B6MHCP9MJaA6HNc 2) Check device capability for camera and audio when requesting such permissions for a remote device. 3) Remove feature flag device_aware_permission_grant_enabled due to no flags required for features in mainline module to be released in V. Bug: 324470724 Bug: 325336076 Test: atest DeviceAwarePermissionGrantTest Change-Id: Icb544dc7277750ab5597e60e2a2f5cb134006da1 LOW_COVERAGE_REASON=322876988 --- flags/flags.aconfig | 8 -------- 1 file changed, 8 deletions(-) (limited to 'flags/flags.aconfig') diff --git a/flags/flags.aconfig b/flags/flags.aconfig index 3077dd290..337936fd4 100644 --- a/flags/flags.aconfig +++ b/flags/flags.aconfig @@ -1,14 +1,6 @@ package: "com.android.permission.flags" container: "com.android.permission" -flag { - name: "device_aware_permission_grant_enabled" - is_fixed_read_only: true - namespace: "permissions" - description: "Enables device aware grant permission flow" - bug: "292252664" -} - flag { name: "private_profile_supported" namespace: "permissions" -- cgit v1.2.3-59-g8ed1b