OSDN Git Service

Fix issue 1164: Incorrect organization type label in contacts
authorEvan JIANG <firstfan@gmail.com>
Sun, 2 Nov 2008 01:56:43 +0000 (09:56 +0800)
committerEvan JIANG <firstfan@gmail.com>
Sun, 2 Nov 2008 01:56:43 +0000 (09:56 +0800)
http://code.google.com/p/android/issues/detail?id=1164
This patch is working with http://review.source.android.com/1845
They are in 2 different projects, so I need to commit twice.

src/com/android/contacts/EditContactActivity.java

index c301473..1446eec 100644 (file)
@@ -713,7 +713,7 @@ public final class EditContactActivity extends Activity implements View.OnClickL
                     case OTHER_ORGANIZATION:
                         entry = EditEntry.newOrganizationEntry(EditContactActivity.this,
                                 Uri.withAppendedPath(mUri, Organizations.CONTENT_DIRECTORY),
-                                ContactMethods.TYPE_WORK);
+                                Organizations.TYPE_WORK);
                         mOtherEntries.add(entry);
                         break;