Audio: Restore volume for all streams on headset connect/disconnect
Audio streams which play sound from both speaker and a connected device would report to AudioService only the speaker as the playback device, meaning volumes would not be saved for a separate device state. This patch makes it so the connected device will be reported instead, fixing volume restore on device change for those streams (alarm, ring, notifications). Readded safe headset restore capping for all streams. Patch Set 3: Changed cap to 10/15 Change-Id: Id2e690f7894475ba0086f62342b8eeb163d24da1
Loading
Please register or sign in to comment