import java.util.Map;
import java.util.Map.Entry;
+@SearchIndexable
public class ZenModeSettings extends ZenModeSettingsBase {
+ private static final String KEY_SOUND = "zen_effect_sound";
+ @Override
+ public void onResume() {
+ super.onResume();
+ CheckBoxPreference soundPreference =
+ (CheckBoxPreference) getPreferenceScreen().findPreference(KEY_SOUND);
+ if (soundPreference != null) {
+ soundPreference.setChecked(true);
+ }
+ }
+
@Override
protected int getPreferenceScreenResId() {
return R.xml.zen_mode_settings;