commit | 895a6149718e8a40587d7e195129cf0b0328f02f | [log] [tgz] |
---|---|---|
author | R0rt1z2 <roger@r0rt1z2.com> | Tue Jul 18 16:52:25 2023 +0000 |
committer | R0rt1z2 <roger@r0rt1z2.com> | Tue Jul 18 18:10:41 2023 +0000 |
tree | b710e170e4750a137aa5b151e25970699c9bea1d | |
parent | 5c54e69ef00d1bc356f5f703338b63032e9e75c0 [diff] |
compat: Provide shim with IPermissionController stubs * All the IPermissionController related functions are guarded by `if !defined(__ANDROID_VNDK__)` [1], meaning they're not fully accessible to vendors. * Since we know these are mainly used to check whether an app or process has a required permission, simply provide an stub that returns true no matter what the permission / caller are. - [1]: https://github.com/LineageOS/android_frameworks_native/blob/lineage-20.0/libs/binder/IServiceManager.cpp#L170 Change-Id: I898bf8eb577faecb8bc0f007498b835816dddb93