diff options
| author | Vasu Nori <vnori@google.com> | 2010-11-11 15:19:37 -0800 |
|---|---|---|
| committer | Vasu Nori <vnori@google.com> | 2010-11-11 15:22:13 -0800 |
| commit | 4015de2a0803998ee5ffdf1d765378ed0e360ae1 (patch) | |
| tree | c4053c0fb612aff666736f29c685a3d94439e885 /core | |
| parent | 4f66308170b8b0c65839044986ed0b69c10c8909 (diff) | |
| download | frameworks_base-4015de2a0803998ee5ffdf1d765378ed0e360ae1.zip frameworks_base-4015de2a0803998ee5ffdf1d765378ed0e360ae1.tar.gz frameworks_base-4015de2a0803998ee5ffdf1d765378ed0e360ae1.tar.bz2 | |
add column to downloads table to store error msg when a download fails
useful for debugging for bugs like bug:3187299
without this error message, one doesn't know WHY downloads
fail.
there is a STOPSHIP comment around storage of this error
message in database.
Change-Id: I1fa49ee9eb97be16aced1611ab30a286b0b6c8d2
Diffstat (limited to 'core')
| -rw-r--r-- | core/java/android/provider/Downloads.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/provider/Downloads.java b/core/java/android/provider/Downloads.java index 65adef9..ff769ad 100644 --- a/core/java/android/provider/Downloads.java +++ b/core/java/android/provider/Downloads.java @@ -375,6 +375,13 @@ public final class Downloads { */ public static final String COLUMN_MEDIA_SCANNED = "scanned"; + /** + * The column with errorMsg for a failed downloaded. + * Used only for debugging purposes. + * <P>Type: TEXT</P> + */ + public static final String COLUMN_ERROR_MSG = "errorMsg"; + /* * Lists the destinations that an application can specify for a download. */ |
