mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Do not restrict parcelized type.
This commit is contained in:
@@ -80,7 +80,7 @@ public class OutlinedThumbnailView extends ThumbnailView {
|
||||
@Override
|
||||
protected void onRestoreInstanceState(Parcelable state) {
|
||||
if (state instanceof Bundle) {
|
||||
Parcelable root = BundleCompat.getParcelable((Bundle) state, STATE_ROOT, Parcelable.class);
|
||||
Parcelable root = ((Bundle) state).getParcelable(STATE_ROOT);
|
||||
|
||||
this.isOutlineEnabled = ((Bundle) state).getBoolean(STATE_OUTLINE_ENABLED, true);
|
||||
super.onRestoreInstanceState(root);
|
||||
|
||||
Reference in New Issue
Block a user