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 id26787
push userkwierso@gmail.com
push dateThu, 15 May 2014 22:29:08 +0000
treeherdermozilla-central@46b718e4a76d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs1009853
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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