Merge "Call onTimeChanged when AM/PM changed."
This commit is contained in:
@ -212,6 +212,7 @@ public class TimePicker extends FrameLayout {
|
|||||||
button.requestFocus();
|
button.requestFocus();
|
||||||
mIsAm = !mIsAm;
|
mIsAm = !mIsAm;
|
||||||
updateAmPmControl();
|
updateAmPmControl();
|
||||||
|
onTimeChanged();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@ -226,6 +227,7 @@ public class TimePicker extends FrameLayout {
|
|||||||
picker.requestFocus();
|
picker.requestFocus();
|
||||||
mIsAm = !mIsAm;
|
mIsAm = !mIsAm;
|
||||||
updateAmPmControl();
|
updateAmPmControl();
|
||||||
|
onTimeChanged();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
mAmPmSpinnerInput = (EditText) mAmPmSpinner.findViewById(R.id.numberpicker_input);
|
mAmPmSpinnerInput = (EditText) mAmPmSpinner.findViewById(R.id.numberpicker_input);
|
||||||
|
Reference in New Issue
Block a user