mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Fix crash at startup
This commit is contained in:
@@ -29,7 +29,7 @@ public class BundleSavedState extends android.support.v4.view.AbsSavedState
|
||||
@Override
|
||||
public BundleSavedState createFromParcel(Parcel source)
|
||||
{
|
||||
return new BundleSavedState(source);
|
||||
return new BundleSavedState(source, getClass().getClassLoader());
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -47,9 +47,9 @@ public class BundleSavedState extends android.support.v4.view.AbsSavedState
|
||||
this.bundle = bundle;
|
||||
}
|
||||
|
||||
public BundleSavedState(Parcel source)
|
||||
public BundleSavedState(Parcel source, ClassLoader loader)
|
||||
{
|
||||
super(source);
|
||||
super(source, loader);
|
||||
this.bundle = source.readBundle(getClass().getClassLoader());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user