Merge "Keep up with INotificationListener changes." into jb-mr2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
76c4a1bf7c
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user