summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* remove RLZ trackingDaniel Micay2016-12-161-129/+0
|
* Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2016-01-147-10/+284
|\ | | | | | | https://github.com/CyanogenMod/android_packages_apps_Browser into HEAD
| * Browser: Resurface incognito buttonZhao Wei Liew2016-01-062-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current method of entering incognito mode is too discreet, and there is no way of knowing how to enter it (long press new tab FAB). Resurface the incognito button in the tab navigation screen. Furthermore, on tablets, there is no way to enter incognito mode AFAIK (or it is ridiculously difficult to find). On tablets, add an entry to the overflow menu for creating new incognito tabs. Change-Id: I1c81d2addd16c11480d978aebf07336307ec694f
| * Browser: Fix crash while loading a pageUmair Khan2016-01-041-1/+1
| | | | | | | | | | | | | | | | view.getUrl() returns null sometimes while performing the redirection. syncCurrentState() already handles this case. Change-Id: I874a0260153441df76834fbb0bcba7bb122c2b95 Signed-off-by: Umair Khan <omerjerk@gmail.com>
| * Browser: runtime permissionsLuK13372016-01-045-5/+271
| | | | | | | | | | Change-Id: I19caa970421898196c005aa9ad7cc651cd574c0a Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* | Possibility to disable the search engine and DuckDuckGo for all!Paul Kocialkowski2015-12-301-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Conflicts: res/values-cs-rCZ/donottranslate-search_engines.xml res/values-da-rDK/donottranslate-search_engines.xml res/values-de-rAT/donottranslate-search_engines.xml res/values-de-rCH/donottranslate-search_engines.xml res/values-de-rDE/donottranslate-search_engines.xml res/values-el-rGR/donottranslate-search_engines.xml res/values-en-rAU/donottranslate-search_engines.xml res/values-en-rGB/donottranslate-search_engines.xml res/values-en-rIE/donottranslate-search_engines.xml res/values-en-rNZ/donottranslate-search_engines.xml res/values-en-rSG/donottranslate-search_engines.xml res/values-en-rUS/donottranslate-search_engines.xml res/values-en-rZA/donottranslate-search_engines.xml res/values-es-rES/donottranslate-search_engines.xml res/values-fr-rBE/donottranslate-search_engines.xml res/values-fr-rFR/donottranslate-search_engines.xml res/values-it-rIT/donottranslate-search_engines.xml res/values-ja-rJP/donottranslate-search_engines.xml res/values-ko-rKR/donottranslate-search_engines.xml res/values-nb-rNO/donottranslate-search_engines.xml res/values-nl-rBE/donottranslate-search_engines.xml res/values-nl-rNL/donottranslate-search_engines.xml res/values-pl-rPL/donottranslate-search_engines.xml res/values-pt-rBR/donottranslate-search_engines.xml res/values-pt-rPT/donottranslate-search_engines.xml res/values-ru-rRU/donottranslate-search_engines.xml res/values-sv-rSE/donottranslate-search_engines.xml res/values-tr-rTR/donottranslate-search_engines.xml res/values-zh-rCN/donottranslate-search_engines.xml res/values-zh-rHK/donottranslate-search_engines.xml res/values-zh-rTW/donottranslate-search_engines.xml res/values/donottranslate-search_engines.xml Change-Id: If429077edc9960f336d3cd653f00a125d8cefad2
* | Show search suggestions only when enabled in preferencesPaul Kocialkowski2015-12-293-1/+12
|/ | | | | Change-Id: I6d6cd753f1bdffa6aecd078db62b1bbc08e95aa7 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Browser: update UIjrizzoli2015-11-0728-369/+158
| | | | | | | | | | | | | | | | | | | * Res - Rename (#themersgottahate) - Vectors - Card-Tabs - CleanUp * Interface - Longpress fab to open incognito tab - New icon - Better urlbar - Fix tab animations - Remap PieControl * Features - Immersive mode (replace jb fullscreen) Change-Id: I2fde4242f477359dc8af18d1b7752750058cd6e9 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Revert "Fix the smart search pattern."Jorge Ruesga2015-11-071-1/+1
| | | | | | | | | | | | This reverts commit 3338525823c59867e173c2c65cfed81b6db5c166. This commit breaks many protocol handlers, basically any that use an email or login (like mailto). JIRA: CML-116 Change-Id: Ifb19612bb470e7dbb45128c81fd7cd136c417d2b (cherry picked from commit 3db546f1788b06d2e86502a0956cde5cbbc5b11b)
* [BugFix][Browser]Can't download music from music.baidu.comchenghe.zhang2015-11-071-1/+3
| | | | | | | | | | | | | [Solution Description] Can not download music from music.baidu.com The Referer is Empty [Other Info] modified: src/com/android/browser/DownloadHandler.java Change-Id: If696c2ace282ec01f95476a9907fd6c7303bfb9c (cherry picked from commit 2db66392f651d0b306e9921a9b005c6ed1361428)
* Enable immersive full-screen video playbackdcalandria2015-11-071-3/+20
| | | | Change-Id: I8ef22334c438b6b753e8e336af65f471446f80b4
* browser: allow to load browser internal assetsJorge Ruesga2015-11-073-10/+59
| | | | | | | | | | | The new webview classes avoid to load urls from local file schemes. Just replace the load of internal browser assets (most_visited) from loadUrl to loadData. Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Change-Id: Iee633a1a3599a7e752e15452fa04e15baac2e256 Cherry-Picked: http://review.cyanogenmod.org/#/c/62126/3
* Browser: fix crash updating recycled faviconPawit Pornkitprasan2015-11-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Occurs on the (slow) galaxysmtd. java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:300) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355) at java.util.concurrent.FutureTask.setException(FutureTask.java:222) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841) Caused by: java.lang.IllegalStateException: Can't compress a recycled bitmap at android.graphics.Bitmap.checkRecycled(Bitmap.java:345) at android.graphics.Bitmap.compress(Bitmap.java:985) at com.android.browser.Bookmarks$1.doInBackground(Bookmarks.java:206) at com.android.browser.Bookmarks$1.doInBackground(Bookmarks.java:202) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) ... 4 more Change-Id: I867696996c786024aabb869583583198ac3bc13a
* Browser: Fix Progress bar when quick Controls EnabledDan2015-11-071-0/+3
| | | | | | | The quick controls progress bar was broken by my browser autohide patch. This patch fixes it to properly show again. Change-Id: I1062c4eac26bbc87ca6ec9de775e0b1b58d0542b
* browser: properly handle get center tabJorge Ruesga2015-11-071-7/+1
| | | | | | | Change-Id: Ibec6a7b80e399b99fe2e6df64a7c4b1cc6c38728 JIRA: CYAN-3235 Issue: https://jira.cyanogenmod.org/browse/CYAN-3235 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* BrowserSettings: update desktop UA string to match Chrome 37Steven Luo2015-11-071-2/+2
| | | | Change-Id: Id2a8a832c2a637f7c5284d5006b6f3475bfba560
* Show a startup page in incognito modeChirayu Desai2015-11-071-0/+13
| | | | Change-Id: Ib1d4be6890c81b73a46f026b6fcbb2f1e8de567d
* Implement client-side incognito modeRicardo Cerqueira2015-11-073-3/+51
| | | | | | | | | | | | | | | Since WebView deprecated privateBrowsing in API 17 (and killed it for good in API 19), we were left without incognito in the Browser app. Follow the docs' recommendations and implement it with "manual" control of privacy-related engine options * Internally track incognito state for tabs * Disable all forms of storage and cache on private webviews * Disable all cookie activity while an incognito tab is active * Stop trying to use the deprecated "privateBrowsing" argument when creating webViews, always set to false Change-Id: I23f2e34ee125635bba8981f0711ba4986a9beaab
* Browser: Fix browser force closeadhiti2015-11-072-2/+8
| | | | | | | | | | | | | | | | | Issue: Cursor was accessed by handler thread when it was closed. During Orientation change, BrowserBookmarksPage#onDestroyView is called which clears all the loaders [and cursors]. Simultaneously ThreadedCursorAdapter#loadRowObject is getting called which then calls BrowserBookmarksAdapter#getRowObject where closed cursor is accessed and force close happens. Fix: Synchronized cursors wrt main thread and handler thread. Checked mCursorAdapter for invalid conditions CRs-Fixed: 576176 Change-Id: I9f16c2f1a55f35e8256bbf56afce3538850f9d42
* Add back browser history page.Danny Baumann2015-11-071-0/+2
| | | | | | Not sure why it was removed, but it seems to work just fine. Change-Id: I6d76928182a53ca57d080394823d35d66e0ba987
* Browser: fix weird behavior in the settingsBing-Hua Wang2015-11-071-1/+2
| | | | | | The summary of the text encoding preference should always be displayed. Change-Id: I5620cc147bdda078b9350f82b68b3d86774bc09c
* Add fullscreen toggle to menuNebojsa Cvetkovic2015-11-076-9/+28
| | | | Change-Id: I7acecfc32dde250685f96354b45a91b93667114e
* Adding exception handler for voice recognition activityAbhimanyu Garg2015-11-071-5/+9
| | | | | | CRs-Fixed: 395193 Change-Id: Icedba4ef192d56dfcc9918b2f8afe96b2c662fb9
* Support video transition animationDenise Cheng2015-11-071-6/+20
| | | | Change-Id: Idd03f5bb57d6f78ec8b8e407eba01904f392f554
* Browser : Open in incognito tabDanesh M2015-11-071-2/+39
| | | | | | | | | | Long click on a link now allows you to choose between opening in incognito/regular tab. Credits: Danesh M Signed-off-by: Arham Jamal <arhamjamal@gmail.com> Change-Id: Iba8e7446e69ae66e0bd957910e6309fdb0e0b947
* Browser: New navbar buttonsArham Jamal2015-11-072-6/+65
| | | | | | | | | Added 2 new buttons to navigation bar: - New Incognito Tab - Goto home screen Signed-off-by: Arham Jamal <arhamjamal@gmail.com> Change-Id: I4c4b611ccc7fc3de4fa4bc7c855e4481de440a87
* Browser: UI updateslinuxx2015-11-071-37/+0
| | | | | | | | -Vectors -New favourites (google, cyanogenmod, cyanogenmod wiki) Change-Id: I2c91f78192139e281618010722e678c0babcf46d Signed-off-by: linuxx <joey@cyanogenmoditalia.it>
* Cleanup code styleMichael Bestas2015-11-072-565/+565
| | | | | | * Fix breakage from 'Materialize' commit Change-Id: I81d06e069f3eb18581a7072aaf7e22b1a3d804a2
* User agent as advanced settingDaniel Volk2015-11-071-7/+4
| | | | | | | | By default is a debug only setting. based on JB commit by D4rKn3sSyS Change-Id: Ic2d695d68eab6716b12e25c4a999582e7ff7b6a4
* Browser: Materializelinuxx2015-11-0715-600/+609
| | | | | | | | -Material Ui theme (green) -New icon -xxhdpi drawables Change-Id: I291f4bba1e412a8e762666db0684b95105dcf8b0
* Reimplement titlebar autohiding to be compatible with chromium webview.Dan2015-11-071-7/+15
| | | | | | Patch Set 4: Fix code formatting Change-Id: I4de873f7c089d4f7dede944d05f48d03000f3d99
* Always show the action bar overflowVeeti Paananen2015-11-072-8/+1
| | | | | | As with native action bars. Change-Id: I460ee02b370d7f220a8702d2e7644a7c775e3b21
* Don't view images with src="javascript:..."Paul Miller2015-05-181-1/+23
| | | | | | | | BUG:19296937 cherry-pick of 0d75bdd4654a2352df68709c04c773d383a58054 from master Change-Id: Ic3597a22a3b0c1f90cdd737e735904beaf35a58e
* am fbc291cb: am 6500db1a: Merge "Forbid javascript- and file-scheme intents"Paul Miller2015-04-072-44/+37
|\ | | | | | | | | * commit 'fbc291cb6534fa9a4d507d4df1b26ec77e1e03bf': Forbid javascript- and file-scheme intents
| * Forbid javascript- and file-scheme intentsPaul Miller2015-04-062-44/+37
| | | | | | | | | | | | BUG:13082135 BUG:19296779 Change-Id: Ifea908b175670fbce65205797b93e87adf25bb3d
* | am f415644a: am dc9c9582: Merge "Revert "Restrict "javascript" and "file" ↵Paul Miller2015-04-062-61/+44
|\ \ | |/ | | | | | | | | | | scheme intents"" * commit 'f415644a7045b81539b622f053a0828b57022fbc': Revert "Restrict "javascript" and "file" scheme intents"
| * Merge "Revert "Restrict "javascript" and "file" scheme intents""Paul Miller2015-04-062-61/+44
| |\
| | * Revert "Restrict "javascript" and "file" scheme intents"Paul Miller2015-04-062-61/+44
| | | | | | | | | | | | | | | | | | This reverts commit ca7ecd85ac925ef44dbef327310f2baad13322f2. Change-Id: I64460956e6243908a6c575eb4d3c7455efc86dff
* | | am edc3e7a4: am b1da6cff: Merge "Restrict "javascript" and "file" scheme ↵Paul Miller2015-04-022-44/+61
|\ \ \ | |/ / | | | | | | | | | | | | | | | intents" * commit 'edc3e7a47afdef95b483f656314829574e67727b': Restrict "javascript" and "file" scheme intents
| * | Merge "Restrict "javascript" and "file" scheme intents"Paul Miller2015-04-022-44/+61
| |\ \ | | |/
| | * Restrict "javascript" and "file" scheme intentsPaul Miller2015-04-022-44/+61
| | | | | | | | | | | | | | | | | | | | | | | | "javascript" is not allowed; "file" is only allowed in certain directories BUG:19296779 BUG:13082135 Change-Id: I389a5b0ad3e8add1b1159faca3212c7f11f3ae69
* | | am 87dc5763: am 36180ed8: Merge "Finish removing "inline" URI scheme"Paul Miller2015-04-021-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit '87dc57636cbac58ab9845260aee8a7ee951c6892': Finish removing "inline" URI scheme
| * | Finish removing "inline" URI schemePaul Miller2015-04-011-1/+1
| |/ | | | | | | | | | | It was incompletely removed in 068e48b469f5abca53ee3da38f933cf2c25c93b8 Change-Id: Ie8816726cde8f898d69cd101cea66ddbb4b6e288
* | am 5c91d966: am 0de964c4: Merge "browser: set security state even if user ↵Richard Coles2015-03-131-0/+1
|\ \ | |/ | | | | | | | | | | disable security alerts" * commit '5c91d966d472a88b553633c714fcb3ef2bdf892f': browser: set security state even if user disable security alerts
| * browser: set security state even if user disable security alertsJorge Ruesga2015-03-111-0/+1
| | | | | | | | | | | | | | | | Even if a user disabled the security alerts (ssl errors), the security state SHOULD be set to show that the certificate has a problem. Actually, the certificate is reported as valid, which is complety wrong. Change-Id: I520bf2553942d04287d872428c4a73186ba1ceef Signed-off-by: Jorge Ruesga <j.ruesga.criado@gmail.com>
* | am 28994826: am f88fc286: Merge "Show JS alerts over their origin tab"Paul Miller2015-02-122-0/+29
|\ \ | |/ | | | | | | * commit '28994826925a627992d3140328e607ae85194edb': Show JS alerts over their origin tab
| * Show JS alerts over their origin tabPaul Miller2015-02-122-0/+29
| | | | | | | | | | BUG:18416812 Change-Id: I25964690bdf579a4fd23fcb6e7c0f6681f0f3661
* | am f463f043: am a9c8a585: Merge "Remove stray unused import."Narayan Kamath2015-01-071-1/+0
|\ \ | |/ | | | | | | * commit 'f463f0438f98bae6c8d5d909f09a7807162e9ae9': Remove stray unused import.
| * Remove stray unused import.Narayan Kamath2015-01-071-1/+0
| | | | | | | | Change-Id: I52e2c41bec5131ecfb34fc9129888ca6678c3c2b
* | am 715deeac: am de5a4d4a: Merge "Move browser over to java.net.URLConnection."Narayan Kamath2014-12-192-47/+62
|\ \ | |/ | | | | | | * commit '715deeacb019601d3570acb5a81db5c14c28d2f0': Move browser over to java.net.URLConnection.