Fixes #1930608. Drop the gestures tables before attempting to recreate it.

This commit is contained in:
Romain Guy
2009-06-19 14:28:51 -07:00
parent 3cf604f3b9
commit 417d23428a
@@ -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);
}
}