Refactor SoundSettings to use more preference controller.

- second round of refactoring SoundSettings to use preference
  controller.
- add controller for Emergency broadcast, Vibrate when ring, Phone
  ringtone, Alarm ringtone, and Notification ringtone.

Bug: 32276590
Test: make RunSettingsRoboTests
Change-Id: Iaff48ecb27bf156a5c8995de20ce7a440b094cdb
This commit is contained in:
Doris Ling
2016-12-05 13:29:21 -08:00
parent cacb2f00c1
commit 6c2cf0dbc5
21 changed files with 918 additions and 198 deletions

View File

@@ -30,7 +30,6 @@ import com.android.settings.TestConfig;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Answers;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.robolectric.annotation.Config;