Update Notification preferences UI in new IA.

- Refactored ConfigureNotificationSettings to be more modular
- And tests

Bug: 31799948
Test: RunSettingsRoboTests
Change-Id: I2ecd8930a6aa501c1e625cab6ed25a46f3437e85
This commit is contained in:
Fan Zhang
2016-10-21 17:05:25 -07:00
parent 4eddfb804c
commit f83ce92aaf
8 changed files with 623 additions and 371 deletions

View File

@@ -154,7 +154,7 @@ public class DashboardFragmentTest {
mTestFragment.bindPreferenceToTile(mContext, preference, tile, "123");
assertThat(preference.getFragment()).isNull();
assertThat(preference.getIntent()).isNotNull();
assertThat(preference.getOnPreferenceClickListener()).isNotNull();
assertThat(preference.getOrder()).isEqualTo(-tile.priority);
}