| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- During stress test on browser we noticed that
registerActivityLifecycleCallbacks.onActivityCreated was not
getting called. This call was required to ensure that the engine was
initialized before launching an activity.Added code to ensure engine is
initialized in onCreate of activity that use engine API's directly.
- Added null check for ComboView.hide method
|
|
|
|
|
|
|
|
| |
Provide default implementation for PKCS11AuthenticationManager to fix
null pointer crash. Clean-up client certificate api as now we use
chromium's implementation for the same.
Change-Id: I10c69b5d168e03ffb3fd9767bd17d5374e161111
|
|
|
|
|
|
|
| |
Also contains gyp changes to add a instrumentation test
target for Browser
Change-Id: I2ea26a4a57d9101c54f80f148c9333088016e141
|
|
|
|
|
|
|
|
|
|
| |
- Add framework for reading and enforcing managed profile restrictions.
- Implement enforcement of search engine restriction.
- Add automated test for search engine restriction.
(cherry-picked from 4688934c52fa74e0c4280e4105e644f10221a8ed)
Change-Id: Ifb6018df584fedba42e86ab35d9bfa53b4d36ebe
|
|
|
|
| |
Change-Id: If52741ad5e34241aa9f928244942a33a91610e58
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A number of optimizations are made to improve the time to interact with the UI quicker.
Steps are made to parallelize the web engine initialization while others removed
impediments to the UI bring up.
Changes:
- Engine Initialization is moved to an async task.
- A new NoShow BrowserLauncher activity is added to chain-load BrowserActivity at startup
obviating the blank white screen shown.
- Native libraries are loaded asynchronously in a background thread.
- ResourceExtractor is started much earlier than before.
- BrowserSettings is synced to native only after engine initialization.
- Other parts of UI are made aware of engine initialization state to throttle actions.
Change-Id: Icd4959769fa9813170baf7023c46b696b30dfed1
|
|
|
|
| |
Change-Id: I3f5390bd261fbd7c7a3063a0de17301f6013bf46
|
|
|
|
|
|
| |
Fixes crash on HTC One M8 (and potentially other devices).
Change-Id: Iee60c6b193b844bf1e075adb87b4be4d63e15d58
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-----
Added WebsiteSettingsFragment in known fragments
Missing fragment was causing 'Settings > Advanced > Website settings'
to crash.
Change-Id: Iaf99a292293e269a1f359acb52f3448ed90c2abc
-----
Increase max sandboxed process services to 19
in SWE Browser manifest matching the content shell.
-----
Hide title bar feature is enabled and required callbacks are
implemented.
- Add a new setting to allow media downloads
- if audio and video mimetype based urls which do not
have "Content-Dispostion: attachment" in response header
should be allowed to download or not
Change-Id: If5892db0bbfb81eaa6b0ae2a7e1ae81e98d08d33
- Add "modify audio settings" permission in AndroidManifest for browser
Change-Id: I68bf299785839cf2b11b78d1d53f6ec03bd10b62
- Browser to allow adding extra HTTP headers.
Change-Id: Ibd6b76a0001fd6e08cc0565231b09efe0f63bdf2
- Allow auto play without Gesture
Change-Id: I666658ae6955a43ab346d01e733ef6480e615ce1
- Expose 'def_enable_media_downloads' for clients to override Media download option.
Change-Id: I026d7982fa2507d5f461bdae04d2f6413f2eb822
- Hide LIVE_MENU items on non http/https pages
- Hide the following menu items on non http/https URIs
- Share page
- Find on page
- Request desktop site
- Save for offline reading
Change-Id: I54de428130a2aab27d1eb4b67b84d2911ae356b2
- Enable Save for offline option only after page is fully loaded.
Change-Id: I876756f412f3c9462042bccf8a4a7f970e801185
- FetchUrlMimeType was not encoding URL before calling HttpHead.
Change-Id: Ib389963af0f391a5a59bbbd83feeedcf8e3dfb8d
- Chinese translation for "Allow Media Downloads"
Change-Id: I5a8822383d79af33e771db4c9e8ead03ebefe333
- Show only the partial screenshot instead of the
whole viewport when switching back to tab.
Change-Id: I442b1256460ac4da1c40941ea7a1934b8675cb3a
- Fix navigation screen animation issues
Height of titlebar was incorrectly added twice to the calculation of
animation parameters causing: (i) AnimScreen view to be drawed below
the NavTabView when swithing to navigation screen, and (ii) screen
flashing when selecting a tab from the navigation screen.
Change-Id: Ifec1a4a8b5832802cad7658e202f0611fb8c3bfb
- Fix saving state for tabs purged by memory monitor
Fetching the incognito property from the Tab's webview was causing Tabs
whose webview was set to null (e.g. by the memory monitor) to be skipped
when saving state. The fix uses an existing Tab API that does not presume
that a Tab has a webview attached.
Change-Id: I15c8c77431548ea5818ee0572f77afe2e66edf90
- Fix a continously reloading web page
Page has JavaScript logic to reload on size change. When titlebar is
hidden, the content margin is readjusted which is not necessary.
Fixed by removing the margin adjustment.
Change-Id: Id26f7785c43dc7a46615dfa03f8fecd77c432dca
- Fixed browser crash that happened while saving links
The encodeURL function in FetchUrlMimetype was double encoding
the URL. This was leading to a corrupted URL. HttpHead was
throwing an exception due to this.
The encodeURL was done to fix another problem, where URLs
with ### characters were causing a crash. Replaced encodeURL
with URI to check if URL is correct.
Also, disabled "save link" option for incorrect URLs.
Change-Id: I99d606c2c59251233fa0ffad9c81138c9baa6342
- Fix various issues with autohide, quickcontrols and fixed titlebar
A whitebar is seen when quickcontrols is turned on. Configuring
to use fixed titlebar doesn't work anymore. Both issues are fixed
by repairing the corresponding logic in BaseUi and TitleBar classes.
A new feature to reveal the titlebar on pageload is added.
Fullscreen logic is modfied to take into consideration of the state
of quickcontrols and the fullscreen browser setting. Without these
changes, going to fullscreen shows unneeded titlebar.
Change-Id: I2358f3b8aec5bf28a49870fb1a8c4f49aa168351
- Use regular tab for loading url in "go live" option
- This use normal tab for loading live pages instead of
snapshot tab.
Change-Id: Iebe8278394d983f461892a91813a35f94fd8bde3
- Fix for saved pages thumbnails
- Properly scale down screenshot bitmaps prior to saving as thumbnails.
Addresses the issue of partially displaying saved pages thumbnails as
well as UI crashes and slow scrolling when there is a large number of
saved pages.
Change-Id: Ib89722da767759740773f0ce3a6f018b5782a8a5
- Prune bitmap recycle calls
Remove recycle() calls in preference to setting the bitmap to null
to avoid accidental deletion of a bitmap when its still in use.
Change-Id: I7c67eecafdcaf0795de3250fe10650bef7dd76d8
- Fixes back navigation when UserAgent is changed on new tab
When clicking a link opens up a new tab, and the user agent is
changed for this new tab, browser was creating a new navigation
entry. When user clicked back button the browser was going back
to the same page, instead of removing the tab.
For example, the user agent can be change by enabling/disabling
desktop site.
Change-Id: Id52fb20e9f056ada7d98c665b3274d85a2252935
-----
Comment out geolocation changes.
Change-Id: I001bf88e5cb716fcce4b066893631627d2aee76d
|
|
|
|
| |
Change-Id: I01cee135afdcde2f7dab53a9f45c0413a6cb813b
|
|
|
|
|
|
|
|
|
| |
- Move the browser targeted verion to SDK 19.
- Remove hack to create dummy webview to call into
singleton classes and use Engine class.
- Add missing methods to compile for API 19.
Change-Id: Ie765921f1227eb5de314ed29c5ce909bee6aea93
|
|
|
|
|
|
| |
- The non standard permissions has to be app specific.
Change-Id: I54bf98c8ff69c613695aa18f12d3615bf647fd56
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
Bug: 5166335
Change-Id: Ife9ef2da7664f8de6b0ff9655611efa78d84df05
|
|
|
|
|
|
|
| |
Bug: 5019676
Removes some other legacy code
Change-Id: I766d9d6f7805b5619a9769e6d72ae2f4c363d3ed
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Apps like the QSB can request the browser to preload a
web page.
- preloaded pages are not added to the browser history
if they'r not seen by the user
- when a request is received, a new tab is created for the
preloaded page, but not added to the tab list
- upon receiving the view intent for the preloaded page
the tab is added to the tab list, and shown
- if several pages are preloaded consecutively in the same tab,
the back stack is cleared before it is displayed
- preloaded pages use the main browser cookie jar, so pages that
have never been viewed by the user can drop cookies
Change-Id: I9ed21f2c9560fda0ed042b460b73bb33988a2e8a
|
|/
|
|
| |
Change-Id: I5af7e028c2e8fffb2c21453864c90e030df25312
|
|
|
|
| |
Change-Id: I6fc1b21f7ea692fbe37a17bf900e9b7408a9c077
|
|
|
|
|
|
|
|
| |
Session cookies are removed in Controller.java,
if you override Application.onCreate() you should always call
super.onCreate()
Change-Id: I76e8eb1afd75212fa405b9c3b91f325877112d21
|
|
|
|
|
|
|
|
| |
Bug: 3244281
Set the umask on startup so that databases created in native code
are not world readable.
Change-Id: If0f54b209741645e173f0dd338804fabdafaa31e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
loadFromDb does a lot of disk IO, including accessing SQLite
and SharedPreferences. This should not be done on the UI thread.
With this patch we move it into an AsyncTask. However there is one
caveat with this solution - all settings must be read and sent to
WebCore before BrowserActivity.onCreate is called so we must block
there if the async task is not complete. This is better than doing
the IO on the UI thread though and fixes a load of Browser StrictMode
violations.
Change-Id: I0ab37ee9e95c682a59d6170a1327ae4ad1deceec
|
|
|
|
|
| |
Bug: 2498939
Change-Id: I92a14fdcb949d748bebec0a357d8baad37aeb46e
|
|
|
|
|
|
|
| |
The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.
BUG=1780938
|
| |
|
| |
|
|
|