From 0eb901b79b314f363848c055f944020f1258c306 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Fri, 6 Dec 2019 18:15:28 -0800 Subject: audio: add call assistant usage Add audio usage for call assistant use cases. Used by apps playing over call uplink path for call screening or other in call assitant features. This usage is reserved for system apps with privileged permission android.Manifest.permission.MODIFY_PHONE_STATE. Bug: 135213843 Test: make Change-Id: I7a2278f36f44a474a47dd85d276340da4df460f3 --- api/system-current.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'api') diff --git a/api/system-current.txt b/api/system-current.txt index 6b51eabf6f34..5945723431ea 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -3879,6 +3879,7 @@ package android.media { field public static final int FLAG_BYPASS_INTERRUPTION_POLICY = 64; // 0x40 field public static final int FLAG_BYPASS_MUTE = 128; // 0x80 field public static final int FLAG_HW_HOTWORD = 32; // 0x20 + field @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public static final int USAGE_CALL_ASSISTANT = 17; // 0x11 } public static class AudioAttributes.Builder { -- cgit v1.2.3-59-g8ed1b