Fixing ArrayIndexOutOfBoundsException in contact sync

Bug: 2498058
Change-Id: I3390da8f3a884191d720128aace29b906ba73523
diff --git a/src/com/android/providers/contacts/ContactsDatabaseHelper.java b/src/com/android/providers/contacts/ContactsDatabaseHelper.java
index 2290a03..f29327d 100644
--- a/src/com/android/providers/contacts/ContactsDatabaseHelper.java
+++ b/src/com/android/providers/contacts/ContactsDatabaseHelper.java
@@ -363,7 +363,7 @@
         public static final int NAME_CONSONANTS = 7;
 
         // This is the highest name lookup type code plus one
-        public static final int TYPE_COUNT = 7;
+        public static final int TYPE_COUNT = 8;
 
         public static boolean isBasedOnStructuredName(int nameLookupType) {
             return nameLookupType == NameLookupType.NAME_EXACT