am 76c4a1bf: Merge "Keep up with INotificationListener changes." into jb-mr2-dev

* commit '76c4a1bf7c1f8e2b895bd99aa4815954e9e9bc16':
  Keep up with INotificationListener changes.
This commit is contained in:
Daniel Sandler
2013-03-21 22:06:40 +00:00
committed by Android Git Automerger

View File

@@ -82,7 +82,9 @@ public class NotificationStation extends SettingsPreferenceFragment {
mNoMan = INotificationManager.Stub.asInterface(
ServiceManager.getService(Context.NOTIFICATION_SERVICE));
try {
mNoMan.registerListener(mListener, ActivityManager.getCurrentUser());
mNoMan.registerListener(mListener,
mContext.getPackageName(),
ActivityManager.getCurrentUser());
} catch (RemoteException e) {
// well, that didn't work out
}