| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Missing category from intent was allowing file handler to show
'Contacts' in the open from list. UploadHandler is meant to only
handler URIs that can be opened with 'openFileDescriptor'.
This patch fixes issue by adding category 'CATEGORY_OPENABLE' to
file chooser intent which hides 'Contacts' and only shows categories
supported by upload handler.
CR-Fixed: 772926
Change-Id: Ie28aa54090ab5d7a0c9bf3725368b67cdf1eb407
|
|
|
|
|
|
|
|
| |
The callback was not getting cleaned up properly
due to which exception was getting triggered
when browser was getting destroyed.
Change-Id: I97400e72eb52e3f7af6e01d82479b1764cd9b4af
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
queried by upload handler.
The upload handler presumed atleast one set of app available,
when it queries the package manager for multiple intents
such as camera,camcorder, sound recorder and documents.
But if the device has no apps, which support any of above intent
then package manager would return an empty list.
Change-Id: Ia4cd989f33a9f08da3c0bb1eebf310344ce6428e
|
|
|
|
|
|
|
|
|
|
| |
Add bools to enable/disable the following carrier specific features:
- Exit menu item with 'Minimize or quit' dialog
- Display page title instead of URL in URL bar
- Allow users to provide custom download path
Add method to detect if a carrier specific feature is enabled.
Change-Id: I9db1b16afd14e476de474e8c86bd60ba1a450aba
|
|
|
|
|
|
|
|
|
|
|
| |
The native layer expects the filepath in a Url
format. Sending an absolute path causes the conversion
to a url to be invalid.
Thus reattaching the scheme converts the file path
to valid URL.
Change-Id: I5566108398ccc4dcba6d750c95f63b84cacf492b
|
|
|
|
| |
Change-Id: I04689ba507719f3cb55683acf1e8427b1e2c6e07
|
|
|
|
| |
Change-Id: Ia6ed884ac558f4f5371c227bad992f3efc0feaee
|
|
|
|
|
|
|
|
|
| |
- Added new overlay resources and checks for new resource values
- Removed all references to carrier specific lookups and
converted them to overlay implementations instead.
- Removed old resources from assets directory
Change-Id: I5143b499ffb6f1e08d1f9c846eec94300de87561
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
Also modified ReflectHelper class to consolidate the API and
modified browser code to reflect the API changes.
Change-Id: I708f43cf3c1432adc7cd78c25264330a673ffeb5
|
|
|
|
|
|
|
|
|
|
|
| |
- Changed project package name from com.android.swe.browser
back to com.android.browser along with code references to
old package name.
- Changes to AndroidManifest making it conform closer to stock
browser manifest.
- Changed app and apk name back to Browser.
Change-Id: I778ee1d1197bd50bd4a4850eef6d1d7f4ef0ad0b
|
|
|
|
|
|
| |
Modified folder structure - added swe folder
Change-Id: I2b48a1635ad0a6406398aa9f1021a1f43baebeef
|
|
|
|
|
|
|
|
|
|
| |
Add this for carrier feature. When upload files are
drm files,will not execute upload and make a toast to notify
user the drm type is unsupported.
CRs-Fixed: 520181
Change-Id: I428adfdcc9248d89eec1bee32fdaba47577c2f8f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Receive the value for the new "capture" attribute on HTML
file pickers, and do the right thing with it.
Requires changes in WebKit
(I0a921be31fda79a43c05da4fe22d9c808d92709c)
and the framework (I494adc1274ca21ce8fe52a6c7b6b758217927e66).
Bug: 5771207
Change-Id: I38dfe2df043fdba1388384dbd3b5370737eb38e5
|
|
|
|
|
|
|
|
|
|
|
| |
When we launch the file picker for uploads, if nothing can handle
the type of file then we catch the ActivityNotFoundException so
that we do not crash and launch a default picker instead. However
we still will receive a callback for the intent that failed so in
this case we must skip processing it.
Bug:3447924
Change-Id: Ic309f4ba1a6feda981fcce5231b9aed9be70eef2
|
|
|
|
|
|
|
|
|
|
| |
Ensure that there is an activity to handle the intents
that the file upload control fires. If not, fallback to
the default upload control. This CL also refactors the
code to be (hopefully :)) easier to follow.
Bug:3447924
Change-Id: Ie5f7b448ec1c6abc7da7df29b94cc120d3b2c60e
|
|
Bug: 3170671
First step towards a model/view/control design in Browser
introduced Controller object
started separating UI code
represent state of the app in one place only
Change-Id: Ica387d6bde2dcf1a4993c3db0cce498cf34ff60f
|