Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84be7d60 authored by Hai Zhang's avatar Hai Zhang
Browse files

Keep legacy permission granted if it has been reviewed.

IMPLICIT is the new flag we use for REVIEW_REQUIRED and
REVOKE_WHEN_REQUESTED, and if a permission for a legacy app no longer
has it, we should keep it as granted with RUNTIME_GRANTED when
dropping LEGACY_GRANTED.

Fixes: 284366779
Test: atest PermissionFlagsTest RestrictedPermissionsTest
      RestrictedStoragePermissionTest SplitPermissionTest
      PermissionReviewTest PermissionTest22 PermissionUpgradeTest
Change-Id: If967e41d0e90e61663b6694050af1b57a01c9825
parent 6a548f64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment