diff options
| author | Jean-Baptiste Queru <jbq@google.com> | 2010-12-13 13:06:13 -0800 |
|---|---|---|
| committer | Jean-Baptiste Queru <jbq@google.com> | 2010-12-13 13:06:13 -0800 |
| commit | e78a000955c283509ee8a21b8b7e448060ac8dd8 (patch) | |
| tree | b314a80f3ae6ac3b0e63439f7204e6334f9aa316 /core/java | |
| parent | d0ffef4b43594e540cb867da18d4403b4f583622 (diff) | |
| parent | 4b94c451d2c3aea27c007518318ea98671ae6ed3 (diff) | |
| download | frameworks_base-e78a000955c283509ee8a21b8b7e448060ac8dd8.zip frameworks_base-e78a000955c283509ee8a21b8b7e448060ac8dd8.tar.gz frameworks_base-e78a000955c283509ee8a21b8b7e448060ac8dd8.tar.bz2 | |
resolved conflicts for merge of 4b94c451 to stage-korg-master
Change-Id: I07b974f96ca598677e58623050e4668822e68f23
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. |
