OSDN Git Service

Do not include ourselves as a candidate for downloading content.
authorPatrick Scott <phanna@android.com>
Mon, 31 Aug 2009 18:31:52 +0000 (14:31 -0400)
committerPatrick Scott <phanna@android.com>
Mon, 31 Aug 2009 19:06:38 +0000 (15:06 -0400)
commite1fb96676cd2404c5de091d60828185228ef4c90
treefb26d7e75f07cf9fe890d0180b0171661acb6d6d
parent2a67de4059775466071da52c07b18627c51c677c
Do not include ourselves as a candidate for downloading content.

If we are attempting to download a file and try to resolve to another activity,
it is possible to get BrowserActivity as the best candidate. In that case, we
need to fall back to the download manager. If we do not, we end up in a loop
trying to download the file and sending ourselves a new intent.

BUG: 2062310
src/com/android/browser/BrowserActivity.java