Keep up with INotificationListener changes.

Requires change Ia69f2ba0 in f/b.

Change-Id: I4a8f719150651bbf94c48ef83fcad2f82db9582b
This commit is contained in:
Daniel Sandler
2013-03-18 23:06:05 -04:00
parent 474958fc67
commit e16dcfb16a

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
}