Skip to content

Commit

Permalink
[Slider] Fixed exception when restoring instance state
Browse files Browse the repository at this point in the history
Resolves #1284

PiperOrigin-RevId: 321392036
(cherry picked from commit cc03196)
  • Loading branch information
ymarian authored and hunterstich committed Jul 15, 2020
1 parent 491f1bc commit 3101ef0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2085,7 +2085,7 @@ protected void onRestoreInstanceState(Parcelable state) {

valueFrom = sliderState.valueFrom;
valueTo = sliderState.valueTo;
values = sliderState.values;
setValuesInternal(sliderState.values);
stepSize = sliderState.stepSize;
if (sliderState.hasFocus) {
requestFocus();
Expand Down

0 comments on commit 3101ef0

Please sign in to comment.