OSDN Git Service

print certain rows from downloads.db when bugreports are taken
authorVasu Nori <vnori@google.com>
Mon, 22 Nov 2010 19:55:51 +0000 (11:55 -0800)
committerVasu Nori <vnori@google.com>
Mon, 22 Nov 2010 19:59:04 +0000 (11:59 -0800)
commit624002b0d5b5bd812ca457fdfde0ead2b908eb7a
treefce64aa6bf3c3a9e2f151c20fd6008b150a4d820
parent3644bf11bf42ba694bf71d312947c85fa5f84daa
print certain rows from downloads.db when bugreports are taken

when downloads fail/get stuck, we need to look at the database state
for those downloads. and when the users report such problems, it is
a royal pain not to have that info and most users don't seem to bother
sending database dumps because it is a bit of work.

so lets just dump info about downloads that failed or
downloads from GSF (OTAs, for example)

helps debugging. there is STOP ship comment to not dump data once
HC is released.

Change-Id: Id1254982fd82b4c55f1816a2491f00966840f024
core/java/android/app/ActivityThread.java
core/java/android/database/sqlite/SQLiteDatabase.java
core/java/android/database/sqlite/SQLiteDebug.java