OSDN Git Service

Do not delete chost widgets when opening DB.
authorSunny Goyal <sunnygoyal@google.com>
Fri, 5 May 2017 17:52:40 +0000 (10:52 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Fri, 5 May 2017 17:55:21 +0000 (10:55 -0700)
commit57266aa2bd21744dabee25492b46c78647f5abca
treebef2e11cf428d1194fdc37f2e780586d9e03c68d
parent8dd56b7e44d3d51ef621ef2096f807f97396db01
Do not delete chost widgets when opening DB.

During restore, the data can be in inconsistant state, as the
system is yet to give us the widget map. Deleting the widget during
open would cause the AppWidgetRestoredReceiver to store the widget id
after it has been deleted.

Bug: 37935101
Bug: 38029633
Change-Id: Id3b8766229718239ae784794e848dcfbc74658ac
src/com/android/launcher3/LauncherProvider.java