summaryrefslogtreecommitdiffstats
path: root/vpn
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-04-20 09:40:57 -0700
committerEric Laurent <elaurent@google.com>2010-04-20 09:40:57 -0700
commit3891c4cc918e8062abb97c542a8625d556dccc59 (patch)
tree9046152de058eeca921535efb425c678a4a6c8cb /vpn
parent3b5912602bec6ccbe8eef8a576730b1565f0067c (diff)
downloadframeworks_base-3891c4cc918e8062abb97c542a8625d556dccc59.zip
frameworks_base-3891c4cc918e8062abb97c542a8625d556dccc59.tar.gz
frameworks_base-3891c4cc918e8062abb97c542a8625d556dccc59.tar.bz2
Fix issue 2602879: camera shutter sound not playing.
The problem occurs if the device is powered down in silent mode. When the device restarts, AudioService reads current ringer mode from saved settings but does not call setRingerModeInt() to perform actions required when ringer mode changes. The volumes of streams affected by ringer mode are actually at 0 because they are also read from settings but their mute state is not applied correclty. When we later exit from silent mode, the streams other than STREAM_RING that are affected by ringer mode are not restored as they are not considered muted. This applies to STREAM_SYSTEM but also to STREAM_NOTIFICATION if its volume is controlled independently from STREAM_RING. The fix consists in calling setRingerModeInt() when AudioService starts. Change-Id: Ica75b9874938dda1bc1b634c3e97db4a650d295c
Diffstat (limited to 'vpn')
0 files changed, 0 insertions, 0 deletions