Allow permission renouncement without RENOUNCE permission in test mode.
This allows permission renouncement to be recognised when the caller does not have the RENOUNCE_PERMISSIONS permission, when in test mode. Without this, renouncement cannot be tested because a test apk cannot be given RENOUNCE_PERMISSIONS, and the shell (whose permissions can be adopted) does not have BLUETOOTH_SCAN. Bug: 183625242 Test: atest NearbyDevicesRenouncePermissionTest Change-Id: If4a7235b9141b9279016671b8745b8ba5afd8f41
Loading
Please register or sign in to comment