Skip to content

Commit 1d74a5a

Browse files
author
Winson Chung
committed
Adding missing file in previous change (Bug 7252771)
Change-Id: I5f37a45b7c07d56cad850d90232f39a027e65ba7
1 parent 8c832e9 commit 1d74a5a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,10 @@ private void addUserTiles(ViewGroup parent, LayoutInflater inflater) {
246246
@Override
247247
public void onClick(View v) {
248248
mBar.collapseAllPanels(true);
249-
ContactsContract.QuickContact.showQuickContact(mContext, v,
250-
ContactsContract.Profile.CONTENT_URI,
249+
Intent intent = ContactsContract.QuickContact.composeQuickContactsIntent(mContext,
250+
v, ContactsContract.Profile.CONTENT_URI,
251251
ContactsContract.QuickContact.MODE_LARGE, null);
252+
mContext.startActivityAsUser(intent, new UserHandle(UserHandle.USER_CURRENT));
252253
}
253254
});
254255
mModel.addUserTile(userTile, new QuickSettingsModel.RefreshCallback() {

0 commit comments

Comments
 (0)