Merge "Keep up with INotificationListener changes." into jb-mr2-dev

This commit is contained in:
Daniel Sandler
2013-03-21 22:02:20 +00:00
committed by Android (Google) Code Review

View File

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