diff options
| author | Android (Google) Code Review <android-gerrit@google.com> | 2009-10-20 16:23:01 -0400 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-10-20 16:23:01 -0400 |
| commit | 2a2805b7fbd25ee11ad554e33bf34dbb2e8b71c5 (patch) | |
| tree | a2ffc64e10647c3610b6ce4164d1c4ed698af20a /core/java | |
| parent | ac492e181a21749858ebf30dc1f5bcb0ded4383c (diff) | |
| parent | b3b06fc39b032288d33f663b687d78bec7f1d724 (diff) | |
| download | frameworks_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')
| -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 -- |
