commit | a23b25cd1a99d2ae4bd4a229b8a9ce3715712bc0 | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Thu Dec 03 16:32:20 2020 -0800 |
committer | Hai Zhang <zhanghai@google.com> | Fri Dec 04 23:06:02 2020 -0800 |
tree | d16af1c6b16d75a6cb60634d19958c3493485a0e | |
parent | 93e38c9566bd555804bd28688baa87e8eff70876 [diff] |
Remove obsolete is/setPermissionEnforced(). isPermissionEnforced() always returns true and is only exposed on AIDL and there is actually no API, so it is directly removed. setPermissionEnforced() currently doesn't affect anything so its remaining implementation is removed as well, and we consider all permissions enforced when needed for compatibility of dumping. Bug: 158736025 Test: presubmit Change-Id: I0584553ac0171147b6f131b5359ddb2964113a1d