Fix binding editors when state is null

The bindEditors() can only bind views when there is
data, so this checks for a null state and returns
immediately if null.

Bug: 6601692
Change-Id: I1abfd75ce3bffb5c96a7b5cb609c6d1686581649
diff --git a/src/com/android/contacts/editor/ContactEditorFragment.java b/src/com/android/contacts/editor/ContactEditorFragment.java
index 780279e..5ee6ff9 100644
--- a/src/com/android/contacts/editor/ContactEditorFragment.java
+++ b/src/com/android/contacts/editor/ContactEditorFragment.java
@@ -675,6 +675,12 @@
     }
 
     private void bindEditors() {
+        // bindEditors() can only bind views if there is data in mState, so immediately return
+        // if mState is null
+        if (mState == null) {
+            return;
+        }
+
         // Sort the editors
         Collections.sort(mState, mComparator);