| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I7ba667d4017bf7f82c2dd7d04b13c3fe1987a885
CR-Fixed: 947235
|
|
|
|
|
|
|
| |
Prevent apps from reading gello webview content by using FLAG_SECURE
Change-Id: I7e3413104c4f71b11da4c55b45eeab05d133ea1f
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
|
|
|
|
|
|
|
|
|
| |
Remove duplicate UI from Privacy & Security screen which
was a no-op.
CR-Fixed: SWE-6400
Change-Id: I267f6b140f1b01ddaa7c0058436c16af0cc8746e
|
|
|
|
|
|
|
|
| |
Change-Id: I9e7ab50c87d7a4fd86250f84224f7323b49724f7
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
Conflicts:
res/values/strings.xml
|
|
|
|
|
|
|
|
|
|
| |
- Allow user specific overrides of search engine based on locale.
- If user does not have an override for search engine
use default locale specific search engine.
CR-Fixed:910238
Change-Id: I8775ce669c1625992954b53ec5ed39503f304596
|
|
|
|
|
|
|
| |
- WebRefiner site specific settings were not properly cleared
on browser reset to default
Change-Id: I957111763b7b86eb91dc75744ec21deea0425bd5
|
|
|
|
|
|
|
|
| |
- The webrefiner setting was not reinitialized on browser reset
to default. This caused webrefiner option to be removed from
security and privacy panel.
Change-Id: I3d3c7807188509d941c63d8ebff116968de7cdd2
|
|
|
|
| |
Change-Id: I2f74f8caa8b8e4aaee7d78895287bdd7d69f758f
|
|
|
|
| |
Change-Id: I508448907a83fb32028cb28eb64b72f97a863fd0
|
|
|
|
|
|
|
|
| |
- web refiner permission for site specific setting
- fix NPE when fetching origins
- fix clearing of storage data
Change-Id: I366b7292338ee417dda8b5fb6a9548dc9108ef5a
|
|
|
|
|
|
|
| |
- Reworded the message shown in site specific
settings.
Change-Id: I39cce5e6386f38018d6cbfc0b785cf295f1dcb55
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds MDM management of the following if the restriction
is enabled via the MDM mechanism:
1. The ability to download.
2. The download directory under '/Phone Storage/', if
downloading is permitted.
These restrictions are only effective on SWE provisioned in the
'Work' profile. Non-work-profile SWE will not be affected.
When the download capability has been restricted, clicking a download
link results in a Toast message (Managed by your administrator). A long-press
of the link still brings up a context menu, but the 'Save link as' menuitem
is disabled in this case.
If MDM sets the download directory, it is not setting the full path, just
the directory under '/Phone Storage'. The directory specified must include
a leading '/' i.e. '/NewDownloadDir'.
Change-Id: I13a44892a36925d6324b87f7655d79fb0776f8a9
|
|
|
|
| |
Change-Id: I895c95daeb0bd7b5f9967588304eb7e725ceae85
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Original design of the MDM Restriction subclasses was
lazily initialized singletons. This worked fine for restrictions
that only altered UI elements, but in cases where the UI element
hadn't been constructed yet (so it didnt call getInstance() for
the MDM restriction), MDM messages were being lost.
The cure for this is to forget about the lazy initialization
design, and simply initialize the All the MDM subclass singletons
at browser init time (after the engine has been initialized).
Change-Id: Ibe31bd2d11df550dd0176a6a74958db250fd93bd
|
|
|
|
|
|
|
| |
- Default popup setting
- Clear private data setting
Change-Id: Ie33e8d9cbdc3ccb05759030bd4e90f7ec0725fd6
|
|
|
|
|
| |
- Set appropiate flag for webrefiner
- Call reset permissions on reset default preferences.
|
|
|
|
|
|
|
|
|
|
| |
- new panel for site specific settings
- hooked up favicon to site settings
- new images for security icons
- revamped settings panels to match the new
ui layouts
Change-Id: I1e872ce353e66f78e2b0530901fcbb7de69e28b4
|
|
|
|
|
|
|
| |
By default, night mode is disabled. User can switch it on and off in General
Settings.
Change-Id: Ibf78689ed4a75dcee9ae1d036d1a770627df298b
|
|
|
|
|
|
|
| |
- User can swipe from left and right edge to go
back and forward in history of a tab
Change-Id: I941f91122510b004bdcb6a718eb6c05730694960
|
|
|
|
| |
Change-Id: I85bcb0e75b3942affa2cb1fe0d07b005a8560ad6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implements handling of MDM enforced restriction preventing the user
from updating the 'Do Not Track' checkbox in the Privacy & Security
menu.
When enforced by MDM, the 'Do Not Track' menu entry is greyed out, and
if tapped, presents a toast message informing the user that the
setting is managed by the administrator. The checkbox reflects
the value set by MDM.
Included in this commit is the basic unit tests and a new
'MdmCheckBoxPreference' class that manages the display of the toast
message and makes it possible to update the state of the entry
immediately (instead of having to restart the menu to have a new
MDM setting take effect.
Change-Id: I931d80ccf80474120dba2d768a7a257e337bece2
|
|
|
|
|
|
|
|
|
|
| |
Create a setting that tunes performance optimizations and improves the
power usage.
Automatically tune mode with the Power-saving mode of Android Lollipop+.
Also, when the phone drops below threshold for low battery, prompt user
to turn browser's power save mode on.
Change-Id: I64089a371de562f9a18c297eb09555733f020515
|
|
|
|
| |
Change-Id: I4f270a54519d38db1c0a487b429094e635f0db00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement enforcement of the following chromium proxy restrictions:
ProxyMode, ProxyServer, ProxyBypassList
Originally cherry picked from 556a3ba3bb9dae768810181ace1e0b07fd5824c2.
Includes fix for search restriction unit test failures when
including proxy restrictions code.
Also added some logging for functional verification.
Change-Id: If7fc1d8be36fa600a3d974d6b584d504ed2faf71
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: Ic17bccac4434ac1134e2bd5a1a81f51804250811
|
|
|
|
|
|
|
|
|
| |
- Dismiss GeolocationPermissionsPrompt when user navigates
away from the page or when the user responds to a prompt
for the same origin on a different tab.
- Geolocation indicator missing in incognito tabs.
Change-Id: If73bc509a83ad543ed02f723c65dd1507f0d7ac1
|
|
|
|
|
|
|
| |
Removes ErrorConsloe
Removes FixedTitleBarContainer
Change-Id: Ib5b3fb74d33851fddf983e3ac4b205b2457a9381
|
|
|
|
|
|
|
|
|
|
|
| |
Set locale specific text encoding for Chinese, Japanese,
Korean and keep "UTF-8" encoding as default for all other
locales.
Add "Auto detect" (localized for Chinese only) as additional
list item for "Text Encoding" list preference.
Change-Id: Ic33287f6999e2741dce57eb3fb7adc66f3fb0b9f
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove calls to SWE's WebSetting API and use the newer implementation of
the engine. The newer implementation tracks UserAgent per navigation
entry.
- Allow to override the UserAgent using command line switches.
- Remove debug option to change UserAgent string.
- BrowserConfig class cleanup.
Change-Id: Ib1cc4763e0cbf0207793d1f4e6b1644a9dbb5c08
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Set use_wide_viewport flag to TRUE independent of default
zoom mode (far/medium/close).
Change-Id: I2e7a86e7c35917dbf77817da94c3478123a92629
|
|
|
|
|
|
|
|
| |
Always allow the tab to go fullscreen. Explicit call to
exit fullscreen is added. Fullscreen layout logic moved
to base ui class.
Change-Id: I4474d90f99bf4753dedbe453b21f126668c40f64
|
|
|
|
|
|
|
|
|
| |
Since WebIconDatabase is deprecated and most of its
operations are no op even in frameworks from Kitkat and above.
The dead code is removed from browser.
Change-Id: If1b126bb8d460915e2e3c5da1cb3d76622ed14ff
|
|
|
|
| |
Change-Id: I0fa64f0fcd800db0c8d5c91dcbbcc265f4d8eb48
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-----
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: I696f3addecbac9674bfce9c1077257119fac9e02
|
|
|
|
|
|
| |
- Remove calls to clearUsernamePassword.
Change-Id: I1a3aa64758b3fbdfa1ad62d315b3dd088cf1d125
|
|
|
|
|
|
| |
Fix auto sizing of text in websites having small fonts
Change-Id: Ibcb6431039ac97fcf21aaab4ace0dfb27f422711
|
|
|
|
|
|
| |
SWE WebView has depricated api for 'WebSettings.setPluginState'.
Change-Id: Iff65d9c56f3c38119712b01cdd18ce77f52e7311
|
|
|
|
|
|
|
|
| |
Brought in Browser Provider class locally into platformsupport
and modified all calls into provider to call into this local
class.
Change-Id: I3c471dacf920fd30403590ba23384b7abbf7f3fd
|
|
|
|
|
|
|
|
| |
Removed the webview used for the font preview and replaced
it with a textview. Removes the overhead of using webview
for just a small preview in settings.
Change-Id: I6eb7f3dd67756b220e8f7ff33eab5cc7429d3f36
|
|
|
|
|
|
| |
Added missing call to set the DoNotTrack flag based on browser settings.
Change-Id: I2e93f6c5d674cb421157f9c7770b6a5da133bfc6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
---
Fix issue with exit dialog showing on downloads
The dialog was only shown when the download was initiated from
outside the browser. Added a property to Tab to identify
it was created from an intent and handle closing it appropriately.
Change-Id: I83d342571f3fbf74223e248dd6bb6a8660bca96b
---
Memory monitor not deleting tabs when switching tabs.
Fixed bug where tab.destroy() was called only when new tab is
created. Fix was to check for stale tab when setActiveTab is
called and destroy webview for it.
Change-Id: Ibcb6431039ac97fcf21aaab4ace0dfb27f4227dc
---
Fix content disposition having multiple attributes
Change-Id: If04e930f16243dd1d4ee0acec3a31dfff971ea78
---
Fix yahoo search url where url 'http://cn.search.yahoo.com' is
redirected to 'http://sg.search.yahoo.com/' and query string is
lost in redirection.
Change-Id: I326d15528ae3b7a1cd7d90ca7a454c3bfbddfdd2
---
Fix issue in Autofill delete button
Change-Id: I9dff2a21d976c3269455b2d112cc964980642f82
---
Smoother tab transition and miscellaneous UI fixes.
- Fixed white screen issue seen when render process
was killed during tab switches.
- Fixed jankiness with animation during tab switching.
- Fixed issue where cancelling a dialog was causing
the menu item to be disabled.
Change-Id: I099b7ed3fdd8e10142f5ce932192f9db19f9650f
---
Fixes crash view to be shown for background tabs
Change-Id: I128e165ecfa7fa44c1d98ba13c5b22719c12d2a7
---
Fix timing issue with tab animation
A max num counter is introduced to put a upper limit on time to wait
for the tab (SurfaceView) to be ready. This fixes issue seens on JB
Change-Id: I5519534bc2ea572ca7eb4bb3b1f27921315e9359
---
Allow copy URI for My Navigation page
Change-Id: Ic98a2ad426462df7adf748b15b7e2e70a00d382e
---
Enable WLAN checks.
- Enable WLAN access point selection if WLAN is enabled
and access point is available.
- Prompt user to enable mobile data when WLAN is enabled
access point is not available.
Change-Id: I97e0a0053b07357ee438c0d48d0adfa8abbd80a2
---
Introspect mimetype for octect stream mimetype based on file extension.
Change-Id: I2b3e039647cf60b595d36261cf2ee391207304bc
---
Fix crash when handler is null
Change-Id: I09afd1e8558a5e6473df5b44b5cf4e2584feefe9
---
Fix for JS interface required for overlay default home page
Modified how the JS interface is initialized for the default
home page and included it during the restore of default page.
Change-Id: I077dc8d56aeb6a1db6159dd8f2a1b812b4cd2c79
---
Multiple fixes to SWE.
- Fix showing added navigation correctly.
- Fix showing white screen when creating new tab.
Change-Id: I209f7f5a903a930f021f0a680547bba3dd74d597
---
Pause newly created tab when it is in background
- When a new tab is opened in background, we need to ensure that the
tab is properly paused.
Change-Id: I45e1286de2a89d74581decf3c0c2a23655ae0c47
---
Fix for disappearing title bar caused by copy/paste control
Change-Id: I19860bd9356b2dc392539aa1e16819545e32de6d
---
Geolocation improvements
- Provide users the option to make geolocation permission choices that are
only good for a day.
- Add a clickable icon to indicate that a site has permission to request
Geolocation information. Selecting the icon allows the user to edit/clear
the geolocation policy for the current origin
- Enhanced preferences under Settings > Advanced > Website settings to allow
users to modify/clear the per origin geolocation policy
- Disable importing approved origins from
/data/data/com.android.providers.settings/databases/settings.db
Change-Id: Iafe0ea63f487e06bffecea4fbfc6db2b7b0b85c6
---
Add DuckDuckGo to list of search engines
- User can now switch to DuckDuckGo from Settings->Advanced->Set search engine.
Change-Id: I2ef5624d1eea7bd257c6619cc65b057ed865b5df
---
Capture thumbnail when tab is paused
- Fixes blank tab thumbnail when a tab is opened via adb comman
Change-Id: I817d65575c88c37e6ac5828ea8e561dae6a14ba6
---
Fix for tab thumbnail preview cropped in landscape orientation
Change-Id: Id7c14ddad2e465a9057d6cc85710b1f0dc660739
---
Change menu id for automation test
Change-Id: Ic089b303d39f8677debeae292b8fd2bad096baef
---
Do Not Track (Browser)
- Browser modifications to set the Do Not Track privacy option.
Change-Id: I262b7a05d43b39837cb84eb79f5844d14277e3fd
---
Change-Id: Icc95bdf4bd8d2bd3e3282f77d7f6a88232b59cda
|
|
|
|
| |
Change-Id: Ib127d46465c6a9079753ca048926da07b7f20328
|
|
|
|
|
|
|
| |
Fix provider issue by providing custom class with authority string.
Comment out clear password feature.
Change-Id: Icab6cf7d3bbd71a14fad337ef01f0c53fcaf2fdf
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
Also useWideViewPort setting is forced to false to make
ZoomDensity value other than the default (MEDIUM) to work.
Change-Id: I06d849ff88caecb03a4d2135f01e505a9e056123
|