This repository has been archived by the owner on Apr 29, 2020. It is now read-only.
forked from LineageOS/android_frameworks_native
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH 2/3] - AppOps/PrivacyGuard: New Sensor checks [native]
Add two AppOps for sensor access: - OP_MOTION_SENSORS (default: allow, strict) - OP_OTHER_SENSORS (default: allow) This change updated the AppOPs binder for the newly defined Ops, implements the logic for the sensors and adapts the logic for checking the Ops, if an Op is not linked to a permission. Change-Id: I17bd646c81346f43d1ffdd2dd85dd7c934cd3bd7
- Loading branch information
Showing
3 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters