Clean up AssistGesturePreferenceController

The preference controller shouldn't be shared between the
"Assist Gesture" parent setting, and the child setting within

Fixes: 64318213

Test: manual test of settings && make -j RunSettingsRoboTests
Change-Id: I2d2437e2036881a08977924dc1386aa1fab67070
This commit is contained in:
Kevin Chyn
2017-08-03 17:03:13 -07:00
parent b1c0e38284
commit bd947c7ba9
6 changed files with 46 additions and 89 deletions

View File

@@ -61,13 +61,6 @@ public class AssistGestureSettingsTest {
.isEqualTo(R.xml.assist_gesture_settings);
}
@Test
public void testGetPreferenceControllers_shouldAllBeCreated() {
final List<AbstractPreferenceController> controllers =
mSettings.getPreferenceControllers(mContext);
assertThat(controllers.isEmpty()).isFalse();
}
@Test
public void testSearchIndexProvider_shouldIndexResource() {
final List<SearchIndexableResource> indexRes =