Fixes #1930608. Drop the gestures tables before attempting to recreate it.
This commit is contained in:
@@ -391,6 +391,7 @@ public class LauncherProvider extends ContentProvider {
|
||||
if (version != DATABASE_VERSION) {
|
||||
Log.w(LOG_TAG, "Destroying all old data.");
|
||||
db.execSQL("DROP TABLE IF EXISTS " + TABLE_FAVORITES);
|
||||
db.execSQL("DROP TABLE IF EXISTS " + TABLE_GESTURES);
|
||||
onCreate(db);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user