Enable file upload, WLAN alert and estore URI

 - Implement file upload feature.
     1. Allow selecting a file to upload from device
     2. Port DRM check's for carrier.

 - Bring in wap2estore changes to browser from 3.7.1
      This feature contains two points:
        1. When user input text starting with "estore:" in url bar,
           will go to estore app when installed or go to download
           client webpage when uninstalled.
        2. When user click one hyperlink whose url starts with "estore"
           in webpage, will be the same behavior as above case.

 - Alert user when WLAN is not available and request using mobile data

Change-Id: I2b93d82c19ea13f36889c3171ef695187d77a12b
diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java
index 26f9152..1b0b68c 100644
--- a/src/com/android/browser/Tab.java
+++ b/src/com/android/browser/Tab.java
@@ -1030,6 +1030,16 @@
             }
         }
 
+        @Override
+        public void showFileChooser(ValueCallback<String[]> uploadFilePaths, String acceptTypes,
+                boolean capture) {
+            if (mInForeground) {
+                mWebViewController.showFileChooser(uploadFilePaths, acceptTypes, capture);
+            } else {
+                uploadFilePaths.onReceiveValue(null);
+            }
+        }
+
         /**
          * Deliver a list of already-visited URLs
          */