From 23f48e01b5368b0f6bbd58c15ba987d975da1f25 Mon Sep 17 00:00:00 2001 From: Hayden Gomes Date: Thu, 2 Apr 2020 11:50:21 -0700 Subject: [PATCH] Fixing AudioFocusChange to be signed int AudioFocusChange is expected to have negative values, but was originally defined to be an unsigned int. Bug: 153090512 Test: make -j Change-Id: I27cd8134f9fe19fbefc788e5c2498947dc52967e --- automotive/audiocontrol/2.0/types.hal | 2 +- current.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/automotive/audiocontrol/2.0/types.hal b/automotive/audiocontrol/2.0/types.hal index 65b0988487..80d9ee1867 100644 --- a/automotive/audiocontrol/2.0/types.hal +++ b/automotive/audiocontrol/2.0/types.hal @@ -19,7 +19,7 @@ package android.hardware.automotive.audiocontrol@2.0; /** * Changes in audio focus that can be experienced */ -enum AudioFocusChange : uint32_t { +enum AudioFocusChange : int32_t { NONE = 0, GAIN = 1, GAIN_TRANSIENT = 2, diff --git a/current.txt b/current.txt index 183d00637b..e612e2ed57 100644 --- a/current.txt +++ b/current.txt @@ -635,7 +635,7 @@ ca515ff4b63c80cf5ad7b3395c997c57d6c56157361f6c367d1c96f23cc4860a android.hardwar 4bc4e8087f5c389f013370ed68bc8a1a29cb2f203237937697f35e005a5ad0b4 android.hardware.automotive.audiocontrol@2.0::IAudioControl 37ef585d6687cb31e35c67ab456140d70edba9c4333ce5a6ddd70e636e985773 android.hardware.automotive.audiocontrol@2.0::ICloseHandle 3cf3e5e48ba2642052bbccc1aa4e8bb142933ac960ff40eeedd16e4fe452e7a5 android.hardware.automotive.audiocontrol@2.0::IFocusListener -d06fc14b325beeef06bd39de8f178f490d9e9095255626866071aab42be1fc40 android.hardware.automotive.audiocontrol@2.0::types +44c03f3341939524b5f5acb6680f8a91924d02e335a32840d56597616db7f1ea android.hardware.automotive.audiocontrol@2.0::types 949a2582c9efa3f6f631f56120eae3f02313f251dbf9246c327e419cdf0652a2 android.hardware.automotive.can@1.0::ICanBus 43cddb1907a30343bced68946884416ea25ab14ae2df4709357528b2bedba84c android.hardware.automotive.can@1.0::ICanController 272e826492b27b0dbdeda408e84a41ae43e98f29e57995b6452ded270aae4eee android.hardware.automotive.can@1.0::ICanErrorListener