Merge "Fixing onRestoreInstanceState crash in Launcher" into jb-mr1-dev
This commit is contained in:
@@ -226,7 +226,12 @@ public class AppWidgetHostView extends FrameLayout {
|
||||
|
||||
if (jail == null) jail = new ParcelableSparseArray();
|
||||
|
||||
super.dispatchRestoreInstanceState(jail);
|
||||
try {
|
||||
super.dispatchRestoreInstanceState(jail);
|
||||
} catch (Exception e) {
|
||||
Log.e(TAG, "failed to restoreInstanceState for widget id: " + mAppWidgetId + ", "
|
||||
+ (mInfo == null ? "null" : mInfo.provider), e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user