summaryrefslogtreecommitdiffstats
path: root/core/java/android/os/IDropBox.aidl
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/os/IDropBox.aidl')
-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 --