am 11722ee0: am 54aff114: am fe1b8950: Update NotificationStation after NotificationListenerService API change

* commit '11722ee0115bdb02f4217b77c0793b809dd80c03':
  Update NotificationStation after NotificationListenerService API change
This commit is contained in:
Christoph Studer
2014-07-30 19:45:04 +00:00
committed by Android Git Automerger

View File

@@ -119,7 +119,7 @@ public class NotificationStation extends SettingsPreferenceFragment {
mNoMan = INotificationManager.Stub.asInterface(
ServiceManager.getService(Context.NOTIFICATION_SERVICE));
try {
mListener.registerAsSystemService(new ComponentName(mContext.getPackageName(),
mListener.registerAsSystemService(mContext, new ComponentName(mContext.getPackageName(),
this.getClass().getCanonicalName()), ActivityManager.getCurrentUser());
} catch (RemoteException e) {
Log.e(TAG, "Cannot register listener", e);