commit | 8719a1d274aecc92f56ef8efc7541dec99ad9143 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Mon Nov 06 11:52:51 2017 -0800 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Mon Nov 06 16:47:11 2017 -0800 |
tree | 6f631d5308f3d216a8e016252c102b38ff6734c2 | |
parent | a7d81598b5cd7c12e97f64015c9f5e316eadaf13 [diff] |
AudioService: fix synchronization for camera sound enforcement Synchronize read/write of non-final variable mCameraSoundForced on mSettingsLock, and annotate accordingly. The method updateRingerModeAffectedStreams() was synchronized on mSettingsLock, except in setRingerModeDelegate(). Test: see bug Bug: 63388421 Change-Id: Iee8f3c31fdb4bf93b08e7f0217c1d85d80cc9180