OSDN Git Service

Settings: Restart volumizers explicitly on resume.
authorJohn Spurlock <jspurlock@google.com>
Wed, 26 Nov 2014 15:03:17 +0000 (10:03 -0500)
committerJohn Spurlock <jspurlock@google.com>
Wed, 26 Nov 2014 16:08:43 +0000 (11:08 -0500)
commit04b2e7957d17098d6fb4e338bc039a4bc022aa0a
tree234a2014f5352e6f29071b7918fec6a1f18f530b
parent647f9752ce1bdd4c02cd44028dac769369140764
Settings: Restart volumizers explicitly on resume.

onBindView is no longer called in all cases, so use
onResume as an additional signal that the user returned
to the settings page.  onActivityStop is called in both
cases to cleanup.

Bug: 17461564
Change-Id: I73a6775260951d4fd82ca8c3d8eb852f8dcc7452
src/com/android/settings/notification/NotificationSettings.java
src/com/android/settings/notification/VolumeSeekBarPreference.java