diff options
Diffstat (limited to 'src/com/android/contacts/editor/KindSectionView.java')
-rw-r--r-- | src/com/android/contacts/editor/KindSectionView.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/com/android/contacts/editor/KindSectionView.java b/src/com/android/contacts/editor/KindSectionView.java index ae0262a3e..2d4263be9 100644 --- a/src/com/android/contacts/editor/KindSectionView.java +++ b/src/com/android/contacts/editor/KindSectionView.java @@ -28,10 +28,10 @@ import android.widget.TextView; import com.android.contacts.R; import com.android.contacts.editor.Editor.EditorListener; -import com.android.contacts.model.DataKind; -import com.android.contacts.model.EntityDelta; -import com.android.contacts.model.EntityDelta.ValuesDelta; -import com.android.contacts.model.EntityModifier; +import com.android.contacts.model.RawContactModifier; +import com.android.contacts.model.RawContactDelta; +import com.android.contacts.model.RawContactDelta.ValuesDelta; +import com.android.contacts.model.dataitem.DataKind; import java.util.ArrayList; import java.util.List; @@ -50,7 +50,7 @@ public class KindSectionView extends LinearLayout implements EditorListener { private String mTitleString; private DataKind mKind; - private EntityDelta mState; + private RawContactDelta mState; private boolean mReadOnly; private ViewIdGenerator mViewIdGenerator; @@ -136,7 +136,7 @@ public class KindSectionView extends LinearLayout implements EditorListener { } } - public void setState(DataKind kind, EntityDelta state, boolean readOnly, ViewIdGenerator vig) { + public void setState(DataKind kind, RawContactDelta state, boolean readOnly, ViewIdGenerator vig) { mKind = kind; mState = state; mReadOnly = readOnly; @@ -237,7 +237,7 @@ public class KindSectionView extends LinearLayout implements EditorListener { updateEmptyEditors(); // If there are no existing empty editors and it's possible to add // another field, then make the "add footer" field visible. - if (!hasEmptyEditor() && EntityModifier.canInsert(mState, mKind)) { + if (!hasEmptyEditor() && RawContactModifier.canInsert(mState, mKind)) { if (animate) { EditorAnimator.getInstance().showAddFieldFooter(mAddFieldFooter); } else { @@ -364,7 +364,7 @@ public class KindSectionView extends LinearLayout implements EditorListener { // Insert a new child, create its view and set its focus if (values == null) { - values = EntityModifier.insertChild(mState, mKind); + values = RawContactModifier.insertChild(mState, mKind); } final View newField = createEditorView(values); |