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

* commit '54aff114bf013f2939a4ce61da598202efb2bf78':
  Update NotificationStation after NotificationListenerService API change
This commit is contained in:
Christoph Studer
2014-07-30 19:41:39 +00:00
committed by Android Git Automerger

View File

@@ -119,7 +119,7 @@ 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 {
mListener.registerAsSystemService(new ComponentName(mContext.getPackageName(), mListener.registerAsSystemService(mContext, new ComponentName(mContext.getPackageName(),
this.getClass().getCanonicalName()), ActivityManager.getCurrentUser()); this.getClass().getCanonicalName()), ActivityManager.getCurrentUser());
} catch (RemoteException e) { } catch (RemoteException e) {
Log.e(TAG, "Cannot register listener", e); Log.e(TAG, "Cannot register listener", e);