summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-10-20 16:23:01 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-10-20 16:23:01 -0400
commit2a2805b7fbd25ee11ad554e33bf34dbb2e8b71c5 (patch)
treea2ffc64e10647c3610b6ce4164d1c4ed698af20a /core/java/android
parentac492e181a21749858ebf30dc1f5bcb0ded4383c (diff)
parentb3b06fc39b032288d33f663b687d78bec7f1d724 (diff)
downloadframeworks_base-2a2805b7fbd25ee11ad554e33bf34dbb2e8b71c5.zip
frameworks_base-2a2805b7fbd25ee11ad554e33bf34dbb2e8b71c5.tar.gz
frameworks_base-2a2805b7fbd25ee11ad554e33bf34dbb2e8b71c5.tar.bz2
Merge change Ib3b06fc3 into eclair-mr2
* changes: It turns out to be useful to allow enumeration on a per-tag basis, and it's easy to support based on the data structures we have, so add a tag parameter to getNextEvent().
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/os/IDropBox.aidl6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/java/android/os/IDropBox.aidl b/core/java/android/os/IDropBox.aidl
index f951e52..26294b6 100644
--- a/core/java/android/os/IDropBox.aidl
+++ b/core/java/android/os/IDropBox.aidl
@@ -77,12 +77,14 @@ interface IDropBox {
/**
* Gets the next entry from the drop box *after* the specified time.
- * Requires android.permission.READ_LOGS.
+ * Requires android.permission.READ_LOGS. You must always call
+ * {@link DropBoxEntry#close()} on the return value!
*
+ * @param tag of entry to look for, null for all tags
* @param millis time of the last entry seen
* @return the next entry, or null if there are no more entries
*/
- DropBoxEntry getNextEntry(long millis);
+ DropBoxEntry getNextEntry(String tag, long millis);
// TODO: It may be useful to have some sort of notification mechanism
// when data is added to the dropbox, for demand-driven readers --