diff options
Diffstat (limited to 'src/com/android/providers/contacts/CallLogDatabaseHelper.java')
-rw-r--r-- | src/com/android/providers/contacts/CallLogDatabaseHelper.java | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/com/android/providers/contacts/CallLogDatabaseHelper.java b/src/com/android/providers/contacts/CallLogDatabaseHelper.java index d4ed9304..be3e90e2 100644 --- a/src/com/android/providers/contacts/CallLogDatabaseHelper.java +++ b/src/com/android/providers/contacts/CallLogDatabaseHelper.java @@ -39,7 +39,7 @@ import com.android.providers.contacts.util.PropertyUtils; public class CallLogDatabaseHelper { private static final String TAG = "CallLogDatabaseHelper"; - private static final int DATABASE_VERSION = 5; + private static final int DATABASE_VERSION = 4; private static final boolean DEBUG = false; // DON'T SUBMIT WITH TRUE @@ -151,7 +151,6 @@ public class CallLogDatabaseHelper { Voicemails.SOURCE_DATA + " TEXT," + Voicemails.SOURCE_PACKAGE + " TEXT," + Voicemails.TRANSCRIPTION + " TEXT," + - Voicemails.TRANSCRIPTION_STATE + " INTEGER NOT NULL DEFAULT 0," + Voicemails.STATE + " INTEGER," + Voicemails.DIRTY + " INTEGER NOT NULL DEFAULT 0," + Voicemails.DELETED + " INTEGER NOT NULL DEFAULT 0," + @@ -196,10 +195,6 @@ public class CallLogDatabaseHelper { if (oldVersion < 4) { upgradeToVersion4(db); } - - if (oldVersion < 5) { - upgradeToVersion5(db); - } } } @@ -269,13 +264,6 @@ public class CallLogDatabaseHelper { } /** - * Add {@link Voicemails.TRANSCRIPTION_STATE} column to the CallLog database. - */ - private void upgradeToVersion5(SQLiteDatabase db) { - db.execSQL("ALTER TABLE calls ADD transcription_state INTEGER NOT NULL DEFAULT 0"); - } - - /** * Perform the migration from the contacts2.db (of the latest version) to the current calllog/ * voicemail status tables. */ |