Add property for tracking mute caused by client volume

The new mute state property will track whenever a client has muted the
player volume. This information will be used for the playback
notifications.

Test: make
Bug: 235521198
Change-Id: If49ab9607f8419cb3c59cd817ea5eca66413ebac
diff --git a/include/audiomanager/AudioManager.h b/include/audiomanager/AudioManager.h
index 86e5e35..043ecfc 100644
--- a/include/audiomanager/AudioManager.h
+++ b/include/audiomanager/AudioManager.h
@@ -49,6 +49,7 @@
     PLAYER_MUTE_STREAM_VOLUME = (1 << 1),
     PLAYER_MUTE_STREAM_MUTED = (1 << 2),
     PLAYER_MUTE_PLAYBACK_RESTRICTED = (1 << 3),
+    PLAYER_MUTE_CLIENT_VOLUME = (1 << 4),
 };
 
 struct mute_state_t {
@@ -60,6 +61,8 @@
     bool muteFromStreamMuted = false;
     /** Flag used when playback is restricted by AppOps manager with OP_PLAY_AUDIO. */
     bool muteFromPlaybackRestricted = false;
+    /** Flag used when audio track was muted by client volume. */
+    bool muteFromClientVolume = false;
 
     explicit operator int() const
     {
@@ -67,6 +70,7 @@
         result |= muteFromStreamVolume * PLAYER_MUTE_STREAM_VOLUME;
         result |= muteFromStreamMuted * PLAYER_MUTE_STREAM_MUTED;
         result |= muteFromPlaybackRestricted * PLAYER_MUTE_PLAYBACK_RESTRICTED;
+        result |= muteFromClientVolume * PLAYER_MUTE_CLIENT_VOLUME;
         return result;
     }