diff options
Diffstat (limited to 'src/com/android/contacts/drawer/DrawerAdapter.java')
| -rw-r--r-- | src/com/android/contacts/drawer/DrawerAdapter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/contacts/drawer/DrawerAdapter.java b/src/com/android/contacts/drawer/DrawerAdapter.java index a2ab9f739..f6898b54f 100644 --- a/src/com/android/contacts/drawer/DrawerAdapter.java +++ b/src/com/android/contacts/drawer/DrawerAdapter.java @@ -357,7 +357,8 @@ public class DrawerAdapter extends BaseAdapter { final AccountDisplayInfo displayableAccount = mAccountDisplayFactory.getAccountDisplayInfoFor(item.account); final TextView textView = ((TextView) result.findViewById(R.id.title)); - textView.setText(displayableAccount.getNameLabel()); + textView.setText(mActivity.getPackageName().equals(account.accountType) ? + mActivity.getString(R.string.account_phone) : displayableAccount.getNameLabel()); final boolean activated = account.equals(mSelectedAccount) && mSelectedView == ContactsView.ACCOUNT_VIEW; textView.setTextAppearance(mActivity, activated |
