Bug 1009853 - Override getNotificationUri() in TopSitesCursorWrapper (r=mfinkle)
authorLucas Rocha <lucasr@mozilla.com>
Wed, 14 May 2014 15:02:34 -0700
changeset 183195 69e3f129484a1de854a4ebd0e010823f3878048a
parent 183194 c0d4a7bb2d4153003ed8617f203ff29f985e08fd
child 183196 fa6489a53b497568b662035228208dcd3709dc64
push idunknown
push userunknown
push dateunknown
reviewersmfinkle
bugs1009853
milestone32.0a1
Bug 1009853 - Override getNotificationUri() in TopSitesCursorWrapper (r=mfinkle)
mobile/android/base/db/TopSitesCursorWrapper.java
--- a/mobile/android/base/db/TopSitesCursorWrapper.java
+++ b/mobile/android/base/db/TopSitesCursorWrapper.java
@@ -477,16 +477,21 @@ public class TopSitesCursorWrapper imple
         throw new UnsupportedOperationException();
     }
 
     @Override
     public boolean getWantsAllOnMoveCalls() {
         return false;
     }
 
+    public Uri getNotificationUri() {
+        // There's no single notification URI for the wrapper
+        return null;
+    }
+
     @Override
     public void setNotificationUri(ContentResolver cr, Uri uri) {
         // Keep the original notification URI for the
         // wrapped cursors so that we get proper change
         // notifications from the ContentResolver.
     }
 
     @Override