mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Audio V4: Only expose one notification usage
Too many usages detail were previously exposed to the HAL. All usages that should be handled identically by the HAL are now the same value. - All notification types are now the same usages Test: build Bug: 38184704 Change-Id: I2096f995e249ab02bc29449c6d1a65b521dc13f7 Signed-off-by: Kevin Rocard <krocard@google.com>
This commit is contained in:
@@ -652,6 +652,7 @@ enum AudioInputFlag : int32_t {
|
||||
enum AudioUsage : int32_t {
|
||||
// These values must kept in sync with
|
||||
// frameworks/base/media/java/android/media/AudioAttributes.java
|
||||
// Note that not all framework values are exposed
|
||||
UNKNOWN = 0,
|
||||
MEDIA = 1,
|
||||
VOICE_COMMUNICATION = 2,
|
||||
@@ -659,10 +660,6 @@ enum AudioUsage : int32_t {
|
||||
ALARM = 4,
|
||||
NOTIFICATION = 5,
|
||||
NOTIFICATION_TELEPHONY_RINGTONE = 6,
|
||||
NOTIFICATION_COMMUNICATION_REQUEST = 7,
|
||||
NOTIFICATION_COMMUNICATION_INSTANT = 8,
|
||||
NOTIFICATION_COMMUNICATION_DELAYED = 9,
|
||||
NOTIFICATION_EVENT = 10,
|
||||
ASSISTANCE_ACCESSIBILITY = 11,
|
||||
ASSISTANCE_NAVIGATION_GUIDANCE = 12,
|
||||
ASSISTANCE_SONIFICATION = 13,
|
||||
|
||||
Reference in New Issue
Block a user