diff options
| author | Jean-Baptiste Queru <jbq@google.com> | 2010-12-13 13:10:23 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2010-12-13 13:10:23 -0800 |
| commit | 6d13b146e0444f40f45b9fe5812093c5e611b68e (patch) | |
| tree | 718855b74e2ccc8839b8722c2f26d60b39268b3d /core/java | |
| parent | 6c2471649b5b1d1d9c19305a43676161823b623a (diff) | |
| parent | e78a000955c283509ee8a21b8b7e448060ac8dd8 (diff) | |
| download | frameworks_base-6d13b146e0444f40f45b9fe5812093c5e611b68e.zip frameworks_base-6d13b146e0444f40f45b9fe5812093c5e611b68e.tar.gz frameworks_base-6d13b146e0444f40f45b9fe5812093c5e611b68e.tar.bz2 | |
am e78a0009: resolved conflicts for merge of 4b94c451 to stage-korg-master
* commit 'e78a000955c283509ee8a21b8b7e448060ac8dd8':
Added dropbox broadcast notification
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/os/DropBoxManager.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/core/java/android/os/DropBoxManager.java b/core/java/android/os/DropBoxManager.java index 47a7696..e1c1678 100644 --- a/core/java/android/os/DropBoxManager.java +++ b/core/java/android/os/DropBoxManager.java @@ -58,6 +58,30 @@ public class DropBoxManager { private static final int HAS_BYTE_ARRAY = 8; /** + * Broadcast Action: This is broadcast when a new entry is added in the dropbox. + * You must hold the {@link android.Manifest.permission#READ_LOGS} permission + * in order to receive this broadcast. + * + * <p class="note">This is a protected intent that can only be sent + * by the system. + */ + public static final String ACTION_DROPBOX_ENTRY_ADDED = + "android.intent.action.DROPBOX_ENTRY_ADDED"; + + /** + * Extra for {@link android.os.DropBoxManager#ACTION_DROPBOX_ENTRY_ADDED}: + * string containing the dropbox tag. + */ + public static final String EXTRA_TAG = "tag"; + + /** + * Extra for {@link android.os.DropBoxManager#ACTION_DROPBOX_ENTRY_ADDED}: + * long integer value containing time (in milliseconds since January 1, 1970 00:00:00 UTC) + * when the entry was created. + */ + public static final String EXTRA_TIME = "time"; + + /** * A single entry retrieved from the drop box. * This may include a reference to a stream, so you must call * {@link #close()} when you are done using it. |
