mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 17:18:52 -06:00
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:
@@ -20,9 +20,8 @@
|
|||||||
package org.isoron.uhabits.activities.common.views;
|
package org.isoron.uhabits.activities.common.views;
|
||||||
|
|
||||||
import android.os.*;
|
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 =
|
public static final Parcelable.Creator<BundleSavedState> CREATOR =
|
||||||
new Parcelable.Creator<BundleSavedState>()
|
new Parcelable.Creator<BundleSavedState>()
|
||||||
@@ -51,7 +50,7 @@ public class BundleSavedState extends View.BaseSavedState
|
|||||||
public BundleSavedState(Parcel source)
|
public BundleSavedState(Parcel source)
|
||||||
{
|
{
|
||||||
super(source);
|
super(source);
|
||||||
this.bundle = source.readBundle();
|
this.bundle = source.readBundle(getClass().getClassLoader());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user