OSDN Git Service

Check for null provider info when removing widget
authorSkrilax_CZ <skrilax@gmail.com>
Thu, 12 May 2016 05:30:50 +0000 (22:30 -0700)
committerSkrilax_CZ <skrilax@gmail.com>
Thu, 12 May 2016 05:34:52 +0000 (22:34 -0700)
commit921eb837fc1301edc5e91350a033a1ab6d6bba54
tree6bd2f51fc106518e66581b5ef5e737dfd4b90e78
parentfe7faac0dba67667ae671e6cf59c9706d45e579b
Check for null provider info when removing widget

When doing clean installation and restoring backup,
any stubs for the widget on the homescreen for apps
are not present (downloading them doesn't help) appear
to have null provider info. Add a check for that in
removeAppWidget to prevent crashing.

Change-Id: I207b6a9ba534f572e1937a7b2a0cdc4eb90aff37
src/com/android/launcher3/Launcher.java