| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Prevent apps from reading gello webview content by using FLAG_SECURE
Change-Id: I7e3413104c4f71b11da4c55b45eeab05d133ea1f
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
|
|
|
|
|
|
|
|
| |
Remove configuration step when adding the bookmark widget to pick
what account to use because account support is removed from browser.
Change-Id: I7192d0c5e05e49f17dbec52b88e61243607b4f52
CR-fixed: SWE-6464
|
|
|
|
|
|
|
|
|
| |
Remove duplicate UI from Privacy & Security screen which
was a no-op.
CR-Fixed: SWE-6400
Change-Id: I267f6b140f1b01ddaa7c0058436c16af0cc8746e
|
|
|
|
|
|
|
| |
fix npe on tablets too
Change-Id: I1ea17887672813b2de72a05f63c6c4f695605459
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
|
|
|
|
|
|
|
|
| |
Change-Id: I9e7ab50c87d7a4fd86250f84224f7323b49724f7
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
Conflicts:
res/values/strings.xml
|
|
|
|
|
| |
Change-Id: Ied10d6515e6f8b43a4334f00ec299fddc4e60f17
CR-Fixed: 896901
|
|
|
|
|
|
|
|
|
|
| |
- Material dark theme
- Update colors palette
- Card-like tabs
- Updated menu entries
- Reordered settings
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
|
|
|
|
|
|
|
|
|
| |
- Greyed out icons for security UI
- Settings UI layout modifications
- Search popup menu theming
- Edge navigation setting panel opacity
Change-Id: Ie45b73399cf46f561ecf5801f969e63d8b1bba72
|
|
|
|
| |
Change-Id: I7e1a3120e66ca8bc3adab65499663fecb5b041a3
|
|
|
|
| |
Change-Id: I508448907a83fb32028cb28eb64b72f97a863fd0
|
|
|
|
|
|
|
|
|
|
| |
- Added hooks in BrowserYesNoPreference to support a third
button.
- Enabled the third button for "Reset to default" setting
- If user clicks on this new button, it'll also clear the
private data (history, cache, etc)
Change-Id: I7b224805d2ab8ef440a13948821c871b0b4a791e
|
|
|
|
|
|
| |
Notify user when a new version of browser is available internally.
Change-Id: I29ae1443c473781c3227a574ee42eb5f7e1be36c
|
|
|
|
|
|
|
| |
- Reworded the message shown in site specific
settings.
Change-Id: I39cce5e6386f38018d6cbfc0b785cf295f1dcb55
|
|
|
|
|
|
|
| |
Location settings will require system wide location
to be enabled.
Change-Id: I36cc390abe17ea3b61f2fdfb88181e8a3747bf97
|
|
|
|
|
|
|
| |
- Default popup setting
- Clear private data setting
Change-Id: Ie33e8d9cbdc3ccb05759030bd4e90f7ec0725fd6
|
|
|
|
|
|
|
| |
- Use tile based bitmap for bookmarks and history
- Settings UI cleanup
Change-Id: If959cb0b8f110035b8dd2fefe8106e9c5d30f4f1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous implementation of the Third Party Cookie (TPC)
Restriction was done before SWE had a UI element to
control this feature. The implementation included a
separate override for the MDM setting since it was
not clear how the TPC preference could/would be changed/set.
Note that the original implementation was functional after
the addition of the UI element because of the 'override'
design, but of course now that there is a UI element, we
need to manage it as well. Since we are now managing
the UI element, it makes sense to align the implementation
with other similar MDM implementations (e.g. Do-Not-Track)
which means we no longer need the 'override' design.
This patch removes the 'override' code, and re-implements
TPC Restrictions in the same manner as other UI bound
features.
Change-Id: I5898409d3f0aa4d5b254d00032feda1d6080bfd1
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implementation of MDM form auto fill restriction. When enforced,
the auto-fill menu item is greyed and unchecked, and if clicked,
results in the "Managed by your administrator" Toast message.
Disabling the restriction checks the menu item checkbox and ungreys
the menuitem, restoring full control of this feature to the user.
This patch also includes minor refactoring of DoNotTrackRestriction.
Change-Id: I2f36ea9263a70f0a9470900c3abc48d9376a4604
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
- Add command line switch for privacy policy url and eula url.
- Consolidate all browser switches inside BrowserSwitches class.
Change-Id: If0257c0e34e030a2619cb5957ad8c852c5a49633
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
- Copied from chrome/android/shell/res/xml/file_paths.xml
'commit-id:0b6d4eba435ab4ae09f336d83c34dfbae630edf7'
Change-Id: Ide68c550e8e9b606b4a5495f056d76cb3980da1a
|
|
|
|
|
|
|
|
|
|
| |
Fixed following issues
- Display reverts to browser's main settings panel from Privacy
and Security panel on screen rotation
- Crash when screen shows Clear Stored Data popup and device is
rotated
Change-Id: Iaf0c3aea2e8b8e77b449b540bc62f522040179ef
|
|
|
|
| |
Change-Id: If52741ad5e34241aa9f928244942a33a91610e58
|
|
|
|
| |
Change-Id: Ic17bccac4434ac1134e2bd5a1a81f51804250811
|
|
|
|
|
|
|
|
|
| |
This setting got removed as part of the UI redesign. Adding it
back.
CR-Fixed: 787818
Change-Id: I4449c2c91e5efbbfa2689ae4ec80050a58ba3f8d
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
- Changed "About" menu to preference screen layout,
instead of popup
- Added Version, Build date, Build Hash, User Agent, Help
and Feedback
Change-Id: I2c5b8f74f9ffc945adb305042c1ebcd61283e047
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Accessibility preference screen was not getting refreshed when
text scaling was modified. This was due to incompatibilites of
PreferenceScreen API between API level 16 and above. Modified
the code to use compatible scheme.
- Options menu was not showing padding at start and end of menu
items on API level 16. This was due to incompatibilites of API.
Added options to resource file to fix the problem.
Change-Id: I31d46962adf2aa9fa8dbbff1b1161092a55676f4
|
|
|
|
| |
Change-Id: Ia652ab566b06dea821445dfe45d24443d1d4b1b3
|
|
|
|
|
|
|
| |
Ensure default search engine preference is picked up from
@string/default_search_engine_value.
Change-Id: I5662120077e919beee4d2cf17cfdab785f1b844b
|
|
|
|
|
|
|
|
| |
- Removed obsolete items
- Rearranged similar items together
- Reduced the depth of menu
Change-Id: I693dbb2b3c8cb244329be965f49ab288b73efa1a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(progress, icons).
This code alters the visual style moving the APP to a Light theme.
Parents of the theme are either Theme.Holo.Light or Theme.Material.Light
depending on which API we start the APK from. Needs SDK 21 to build.
Other than the visual changes, this commit changes:
- name of the APP to 'Browser'
- animations and sequencing of the Tab switcher in {nav/anim}_screen
- removal of the warning icon from the Exit dialog
- change of the favicon appearance (removal of the double border)
Vast amount of unused resources are removed from the APK. Just XHDPI
drawables have been synthesized for now, and the Primary color was
used for the icons and is accessible in R.color.Primary.
Change-Id: If75cc051c5d4015383e96066cdb6507484e625d8
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
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
|
|
|
|
|
|
| |
SWE WebView has depricated api for 'WebSettings.setPluginState'.
Change-Id: Iff65d9c56f3c38119712b01cdd18ce77f52e7311
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
---
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
|
|
|
|
|
|
|
| |
Also useWideViewPort setting is forced to false to make
ZoomDensity value other than the default (MEDIUM) to work.
Change-Id: I06d849ff88caecb03a4d2135f01e505a9e056123
|
|
|
|
| |
Change-Id: I933699896b00047902661d6be76d28314c325b11
|
|
|
|
| |
Change-Id: Iebfaf979a1df96100dc9f41c8e95430a057dd96a
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I9d72a0a16234c5b35c52513b1278390242b62a59
|