diff options
-rw-r--r-- | src/com/android/providers/contacts/ContactsDatabaseHelper.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/providers/contacts/ContactsDatabaseHelper.java b/src/com/android/providers/contacts/ContactsDatabaseHelper.java index f58136a..c92f743 100644 --- a/src/com/android/providers/contacts/ContactsDatabaseHelper.java +++ b/src/com/android/providers/contacts/ContactsDatabaseHelper.java @@ -576,6 +576,8 @@ import java.util.Locale; db.execSQL("CREATE INDEX IF NOT EXISTS " + DATABASE_PRESENCE + ".presenceIndex" + " ON " + Tables.PRESENCE + " (" + PresenceColumns.RAW_CONTACT_ID + ");"); + db.execSQL("CREATE INDEX IF NOT EXISTS " + DATABASE_PRESENCE + ".presenceIndex2" + " ON " + + Tables.PRESENCE + " (" + PresenceColumns.CONTACT_ID + ");"); db.execSQL("CREATE TABLE IF NOT EXISTS " + DATABASE_PRESENCE + "." + Tables.AGGREGATED_PRESENCE + " ("+ |