Remove "emergency alert" from Sound settings

It's already in "App & notification" page

Change-Id: I858999f8e097d5712eee1b8d34f47e0e900bf859
Fixes: 71813931
Test: rebuild/visual/atest UniquePreferenceTest
This commit is contained in:
Fan Zhang
2018-01-16 14:01:23 -08:00
parent d6b0490dea
commit 33d5a76c6f
2 changed files with 0 additions and 16 deletions

View File

@@ -44,7 +44,6 @@ import java.util.List;
public class SoundSettings extends DashboardFragment {
private static final String TAG = "SoundSettings";
private static final String KEY_CELL_BROADCAST_SETTINGS = "cell_broadcast_settings";
private static final String SELECTED_PREFERENCE_KEY = "selected_preference";
private static final int REQUEST_CODE = 200;
@@ -182,8 +181,6 @@ public class SoundSettings extends DashboardFragment {
Lifecycle lifecycle) {
final List<AbstractPreferenceController> controllers = new ArrayList<>();
controllers.add(new ZenModePreferenceController(context));
controllers.add(new EmergencyBroadcastPreferenceController(
context, KEY_CELL_BROADCAST_SETTINGS));
controllers.add(new VibrateWhenRingPreferenceController(context));
// === Volumes ===
@@ -268,7 +265,6 @@ public class SoundSettings extends DashboardFragment {
List<String> keys = super.getNonIndexableKeys(context);
// Duplicate results
keys.add((new ZenModePreferenceController(context)).getPreferenceKey());
keys.add(KEY_CELL_BROADCAST_SETTINGS);
return keys;
}
};