diff options
| author | Dan Egnor <egnor@google.com> | 2009-10-20 13:05:17 -0700 |
|---|---|---|
| committer | Dan Egnor <egnor@google.com> | 2009-10-20 13:05:17 -0700 |
| commit | b3b06fc39b032288d33f663b687d78bec7f1d724 (patch) | |
| tree | 8f51e9aed3aa956de795caad463a7606b60cd794 /core/java/android/os | |
| parent | 4410ec8f7cec6ab05a8c24c04fe2d5ed5d1e18df (diff) | |
| download | frameworks_base-b3b06fc39b032288d33f663b687d78bec7f1d724.zip frameworks_base-b3b06fc39b032288d33f663b687d78bec7f1d724.tar.gz frameworks_base-b3b06fc39b032288d33f663b687d78bec7f1d724.tar.bz2 | |
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/os')
| -rw-r--r-- | core/java/android/os/IDropBox.aidl | 6 |
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 -- |
