Skip to content

Commit cfb7d39

Browse files
Winson ChungAndroid (Google) Code Review
authored andcommitted
Merge "Adding missing file in previous change (Bug 7252771)" into jb-mr1-dev
2 parents f7910e3 + 1d74a5a commit cfb7d39

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)