Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e0122a9 authored by John Spurlock's avatar John Spurlock
Browse files

Compile against renamed condition field.

Change-Id: I6a4a28987902551ebf7b775705bed5a6e91f9dca
parent 04a73fe3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ public class ZenModeAutomaticConditionSelection extends LinearLayout {
                }
            }
            if (v != null) {
                v.setText(c.caption);
                v.setText(c.summary);
                v.setEnabled(c.state != Condition.STATE_ERROR);
                v.setChecked(mSelectedConditions.contains(c.id));
            }
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ public class ZenModeConditionSelection extends RadioGroup {
                }
            }
            if (v != null) {
                v.setText(c.caption);
                v.setText(c.summary);
                v.setEnabled(c.state == Condition.STATE_TRUE);
            }
        }
+1 −1
Original line number Diff line number Diff line
@@ -309,7 +309,7 @@ public class ZenModeSettings extends SettingsPreferenceFragment implements Index
            final StringBuilder sb = new StringBuilder();
            for (int i = 0; i < automatic.length; i++) {
                if (i > 0) sb.append(divider);
                sb.append(automatic[i].caption);
                sb.append(automatic[i].summary);
            }
            return sb.toString();
        } catch (Exception e) {