OSDN Git Service

Merge change I4e83a76a into eclair
authorAndroid (Google) Code Review <android-gerrit@google.com>
Wed, 28 Oct 2009 15:47:54 +0000 (11:47 -0400)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Wed, 28 Oct 2009 15:47:54 +0000 (11:47 -0400)
commit898897338dfd62a268a89fb55ee900a9bd5a683f
tree42c2f14a655b13b2ff843b825b28180ab865e10e
parentd376d2407bbc14a2d221dfef9955d0feeab0d550
parent11a74a75653197a3d31fe91590cd8312f5270c44
Merge change I4e83a76a into eclair

* changes:
  Fix bug 2201417. Whenever the System setting that indicates whether the notifcation stream uses the ring volume changes, the table of stream volume aliases in AudioService is updated. But the name of the alias stored in VolumeStreamState.mVolumeIndexSettingName was not updated whenever the NOTIFICATIONS_USE_RING_VOLUME setting was updated. This caused the wrong volume setting to be persisted. This change ensures the setting name is updated whenever the volume alias is, and persists the notification volume change right away (instead of after a delay), so that registered observers are notified right away. The notification seekbar in the sound settings is an example of such an observer.