summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/dns/dns_apitest.cc
diff options
context:
space:
mode:
authorjennyz@chromium.org <jennyz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-23 04:54:59 +0000
committerjennyz@chromium.org <jennyz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-23 04:54:59 +0000
commitefa21732316bf5bdea2baa97ce220373b5a1f524 (patch)
tree1f787722159c8614c4b46337fe9844f5a14f27bf /chrome/browser/extensions/api/dns/dns_apitest.cc
parent8468d2885dd17bb1837b589d6b3719d23d3160ba (diff)
downloadchromium_src-efa21732316bf5bdea2baa97ce220373b5a1f524.zip
chromium_src-efa21732316bf5bdea2baa97ce220373b5a1f524.tar.gz
chromium_src-efa21732316bf5bdea2baa97ce220373b5a1f524.tar.bz2
Fix the volume bubble pop up on device reboot issue. Fix the volume bubble pop up on device reboot issue. The problem is caused by CrasAudioHandler::SetupAudioOutput made 2 SetOutputVolume consecutively, the 1st one set volume to 4 which is from SetOutputMute for adjusting minimum volume level when user clicks unmute button and should not be called from here, and the other set volume to the default or saved volume by user to a regular default or saved volume level which may not be 4. The callback of the first volume setting(volume 4) comes back and unmatched the internal volume level and therefore triggers the UI observer for volume change.
Also separate ApplyAudioPolicy out of SetupAudioOutputState and SetupAudioInputState which are called by callback of GetNodes. ApplyAudioPolicy only needs to be called for initialization, cras restart, and policy change notified. BUG=241816 Review URL: https://chromiumcodereview.appspot.com/15746012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/api/dns/dns_apitest.cc')
0 files changed, 0 insertions, 0 deletions