am 1a3f7db0: VolumeDialog: Restore default-selection logic.
* commit '1a3f7db001a75770d888866a760e1308bb1f25fd': VolumeDialog: Restore default-selection logic.
This commit is contained in:
@@ -430,7 +430,8 @@ public class ZenModePanel extends LinearLayout {
|
|||||||
}
|
}
|
||||||
tag.condition = condition;
|
tag.condition = condition;
|
||||||
tag.rb.setEnabled(enabled);
|
tag.rb.setEnabled(enabled);
|
||||||
if (sameConditionId(mSessionExitCondition, tag.condition)) {
|
if (mSessionExitCondition != null
|
||||||
|
&& sameConditionId(mSessionExitCondition, tag.condition)) {
|
||||||
tag.rb.setChecked(true);
|
tag.rb.setChecked(true);
|
||||||
}
|
}
|
||||||
tag.rb.setOnCheckedChangeListener(new OnCheckedChangeListener() {
|
tag.rb.setOnCheckedChangeListener(new OnCheckedChangeListener() {
|
||||||
|
|||||||
Reference in New Issue
Block a user