diff options
| author | Fred Quintana <fredq@google.com> | 2009-08-20 17:18:58 -0700 |
|---|---|---|
| committer | Fred Quintana <fredq@google.com> | 2009-08-20 17:18:58 -0700 |
| commit | 77709755b74bcc852cd511ff833c2827c0f0e1aa (patch) | |
| tree | d526a9851433873588bf3504b1f2baa9e9555548 /core/java/android/content/ContentProviderNative.java | |
| parent | 404780d62b8f6fe6787fca27cf36fe2c20b7220e (diff) | |
- add a reset to EntityIterator to allow it to go back to the beginning
- clean up the debug printing of SyncResult
Diffstat (limited to 'core/java/android/content/ContentProviderNative.java')
| -rw-r--r-- | core/java/android/content/ContentProviderNative.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/content/ContentProviderNative.java b/core/java/android/content/ContentProviderNative.java index a4c217b69069..e367ceb30223 100644 --- a/core/java/android/content/ContentProviderNative.java +++ b/core/java/android/content/ContentProviderNative.java @@ -281,6 +281,10 @@ abstract public class ContentProviderNative extends Binder implements IContentPr return mEntityIterator.next(); } + public void reset() throws RemoteException { + mEntityIterator.reset(); + } + public void close() throws RemoteException { mEntityIterator.close(); } @@ -406,6 +410,10 @@ final class ContentProviderProxy implements IContentProvider return mEntityIterator.next(); } + public void reset() throws RemoteException { + mEntityIterator.reset(); + } + public void close() { try { mEntityIterator.close(); |
