OSDN Git Service

Show a toast when a download starts.
authorLeon Scroggins <scroggo@google.com>
Thu, 18 Mar 2010 18:44:44 +0000 (14:44 -0400)
committerLeon Scroggins III <scroggo@google.com>
Thu, 18 Mar 2010 19:17:42 +0000 (15:17 -0400)
Fix for http://b/issue?id=2524416

Change-Id: I0f6502a8e6a6041da144d94e2a0e7abdcfca687e

src/com/android/browser/BrowserActivity.java

index 2012f61..fef8495 100644 (file)
@@ -2923,7 +2923,8 @@ public class BrowserActivity extends Activity
             final Uri contentUri =
                     getContentResolver().insert(Downloads.Impl.CONTENT_URI, values);
         }
-
+        Toast.makeText(this, R.string.download_pending, Toast.LENGTH_SHORT)
+                .show();
     }
 
     // -------------------------------------------------------------------------