Switch from View.BaseSavedState to Support Library's AbsSavedState

See https://code.google.com/p/android/issues/detail?id=196430
This commit is contained in:
2017-04-11 17:49:55 -04:00
parent 6855ef9d5e
commit 65cc99dbf7

View File

@@ -20,9 +20,8 @@
package org.isoron.uhabits.activities.common.views;
import android.os.*;
import android.view.*;
public class BundleSavedState extends View.BaseSavedState
public class BundleSavedState extends android.support.v4.view.AbsSavedState
{
public static final Parcelable.Creator<BundleSavedState> CREATOR =
new Parcelable.Creator<BundleSavedState>()
@@ -51,7 +50,7 @@ public class BundleSavedState extends View.BaseSavedState
public BundleSavedState(Parcel source)
{
super(source);
this.bundle = source.readBundle();
this.bundle = source.readBundle(getClass().getClassLoader());
}
@Override