OSDN Git Service

DO NOT MERGE Settings: Implement new required method.
authorJohn Spurlock <jspurlock@google.com>
Fri, 28 Mar 2014 13:41:30 +0000 (09:41 -0400)
committerJohn Spurlock <jspurlock@google.com>
Fri, 28 Mar 2014 13:41:30 +0000 (09:41 -0400)
Only required since it uses the non-public version
of the api.

Bug:13562828
Change-Id: If1eaf070eca889f27fb1dfeef0c0f54a085246aa

src/com/android/settings/NotificationStation.java

index 10457b9..5083e27 100644 (file)
@@ -71,6 +71,10 @@ public class NotificationStation extends SettingsPreferenceFragment {
 
     private INotificationListener.Stub mListener = new INotificationListener.Stub() {
         @Override
+        public void onListenerConnected(String[] notificationKeys) throws RemoteException {
+            // noop
+        }
+        @Override
         public void onNotificationPosted(StatusBarNotification notification) throws RemoteException {
             Log.v(TAG, "onNotificationPosted: " + notification);
             final Handler h = getListView().getHandler();