Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,13 @@ interface IPackageManagerNative {
* and failed due to that permission being denied.
*/
oneway void onDeniedSpecialRuntimePermissionOp(in String permissionName, int uid, in String packageName);

/**
* Returns true if mic spoofing is enabled for the given UID.
* Checks the MIC_SPOOFING_ENABLED flag in GosPackageState for the first package
* associated with the UID.
* @hide
*/
boolean isMicSpoofingEnabledForUid(int uid);

}