Merge "Close notification panel when user button is tapped" into nyc-dev

This commit is contained in:
Adrian Roos
2016-03-22 21:37:52 +00:00
committed by Android (Google) Code Review

View File

@@ -131,6 +131,9 @@ public class MultiUserSwitch extends FrameLayout implements View.OnClickListener
getContext(), v, ContactsContract.Profile.CONTENT_URI,
ContactsContract.QuickContact.MODE_LARGE, null);
getContext().startActivityAsUser(intent, new UserHandle(UserHandle.USER_CURRENT));
if (mQsPanel != null) {
mQsPanel.getHost().collapsePanels();
}
}
}