summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* gello: increase res of shared imagescm-14.0Martin Brabham2016-08-221-2/+2
| | | | | | Change-Id: Ie5e6ebbc836204bdc7cefd246ff76467e379c345 Ticket-Id: FEIJ-1382 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Gello: increase file char limits up to 48Joey Rizzoli2016-06-051-1/+1
| | | | | Change-Id: I7738dc46b82a90a94f5392d370ab4d98117b1476 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Alter download flow to request permissions before anything else.Martin Brabham2016-06-051-41/+49
| | | | | | Change-Id: I6ccbdbcc39a631035b4f8a8d6edae0f5a4dc8e36 Ticket-Id: CYNGNOS-2266 Ticket-Id: FEIJ-368
* Gello: no need to press things twicejrizzoli2016-05-101-9/+9
| | | | | | | Disable folder spinner selector since folders are broken Change-Id: I7064fda1a8710c2efb00539fdd0a490e2c452b04 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Gello: swipe on navbarjrizzoli2016-05-102-4/+26
| | | | | | | | swipe down from tabs icon to see all open tabs or from menu icon to open menu like chrome does Change-Id: I0bf2e9936b07ea85af2231a900bb083d6525aa5f Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Gello: don't move navigation bar when selecting url textjrizzoli2016-04-261-13/+0
| | | | | Change-Id: I3bf37b47d9ba53c728f6ef7d2a9fda83e3b8bdcb Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Gello: remove holo-like share dialogjrizzoli2016-04-262-85/+23
| | | | | | | | Let's use system one instead with DirectShare support and cleanup useless android api checks Change-Id: I9604bc761c706ca967f5a1229f0ad25753733408 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Gello: kang in two methods which changed their location and accessMartin Brabham2016-04-261-3/+31
| | | | | | Cherry-picked from: https://github.com/CyanogenMod/android_packages_apps_Browser/commit/36774d9c6a7b5dbdca88ba974d75895ca835f234 Change-Id: I6dd4b55346f12d015f50bb221d9ba441784e55c9
* Gello: Share bitmap via stream vs bitmapDanesh M2016-04-262-2/+111
| | | | | | | | | High res devices run into issues when trying to share a preview of the page as a bitmap. Use a file uri instead. Cherry-picked from: https://github.com/CyanogenMod/android_packages_apps_Browser/commit/5eb5e2c3d36ad92e41eef66c2dadcd106f1e0e13 Change-Id: I3016a3a9844cfa581f2535935fffc530c2b34ed9
* Add flag to start activity as a new taskSachin Sharma2016-04-171-0/+3
| | | | | | | | Add intent flag FLAG_ACTIVITY_NEW_TASK to ensure that an activity is started as a new task. Change-Id: I1513d3daeacce9a12a73f650a49458559f677c82 CR-Fixed: SWE-6743
* Adding package name as an authorityKarthikeyan Periasamy2016-04-172-1/+30
| | | | | | | | | | | External content URI's to the browser use system browser's package name (com.android.browser) as the authority. Added package name as one of the authorities for acceptable URI's in BrowserProvider Change-Id: I2d6db2faf43f94cb64f89f6a1189a08f4b184cef CR-Fixed: 967778
* Gello: update menujrizzoli2016-04-152-0/+13
| | | | | | | | - Bring back "close all other tabs" - Group new tab, incognito and my navigation in one row Change-Id: I79b805e411cc0835cdc5549d47967fd87a2a36bf Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Fix browser crash on device rebootPankaj Garg2016-03-191-2/+4
| | | | | | | | - Added null pointer check in onDestroy() of browser controller. Some listeners might be null when those are unregistered. Change-Id: Iabbfdc11a29fb7144b9f3e5a3cafc3c5c073addc CR-Fixes: 985342
* Gello: auto-restart on power mode changejrizzoli2016-03-131-11/+25
| | | | | Change-Id: I80ed368b4ab274ed87ef181c191abdd1d11b6130 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Added support for URL redirection for the download from ContextMenuKarthikeyan Periasamy2016-03-121-15/+55
| | | | | | | | Check for URL redirection status from the response and get all download info for the new URL from the location header field. Change-Id: I13aaa674331b0336099306501bdc2d5219349760 CR-Fixed: SWE-6709
* Do not check Mass Storage state for external storageKarthikeyan Periasamy2016-02-152-12/+15
| | | | | Change-Id: I7ba667d4017bf7f82c2dd7d04b13c3fe1987a885 CR-Fixed: 947235
* Gello: LookLockjrizzoli2016-02-063-0/+31
| | | | | | | Prevent apps from reading gello webview content by using FLAG_SECURE Change-Id: I7e3413104c4f71b11da4c55b45eeab05d133ea1f Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Ensure engine is initialized for all activity'sVivek Sekhar2016-02-069-1/+59
| | | | | | | | | Ensure engine is initialized for all activity's in the browser. Monkey test seems to launch individual activity and causes crash if engine is not initialized. Change-Id: I13706499262d9f7aeb2eb4c49be79cc26f1234a8 CR-Fixed:: SWE-6572
* Fix issues with shouldOverrideUrlLoadingVivek Sekhar2016-02-051-6/+18
| | | | | | | | | | - Add support for support deeplinking fallback - Fix lookup of item based on package name directly on play store - Fix mailto protocol to return true always - Fix log tags Change-Id: I1abd30b12df3dd5c7077097834a2ce284f2d7a36 CR-Fixed: SWE-6553
* Gello: fix tablet navbar UIjrizzoli2016-01-255-26/+7
| | | | | Change-Id: I4a772a6c2992aea1b1b09a00fb9945d73e9c0e7a Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Guard against null stringsVivek Sekhar2016-01-111-3/+6
| | | | | Change-Id: I165c9fee57c0605b95751cc5875e6e6142e2001b CR-Fixed: SWE-6070
* Do not pass rtsp URL's to URLUtil.guessUrlVivek Sekhar2016-01-111-0/+1
| | | | | | | | | | URLUtil.guessUrl API does not know to handle rtsp protocol. Using the API causes www to be prefixed which break the protocol handling. CR-Fixed: SWE-6175 Change-Id: I40ce01778e5710d33f21db33a47054d4a9cab856
* Remove duplicate UI for autofill formsVivek Sekhar2016-01-112-6/+0
| | | | | | | | | Remove duplicate UI from Privacy & Security screen which was a no-op. CR-Fixed: SWE-6400 Change-Id: I267f6b140f1b01ddaa7c0058436c16af0cc8746e
* Fix UI behavior on saved pagesSagar Dhawan2016-01-112-4/+9
| | | | | | | | | The UI on saved pages will now behave correctly. Title bar and overflow menu will work as expected. CR-Fix: SWE-6355 Change-Id: I53a3fc595950bdcf0cf2262457922c934479996d
* Fix tab snapshot to consider orientationVivek Sekhar2016-01-111-2/+5
| | | | | | | | | Capture of tab snapshot was not accounting for orientation change for scale calculation. This caused a white bar to be seen for missing region in landscape mode. CR-Fixed: SWE-6350 Change-Id: I00cdf055bf2477c294bcf871c98cc40eda8ad2c9
* Get tab id from Tab for onHistoryItemCommitVivek Sekhar2016-01-111-2/+1
| | | | | | | | Do not query the tab id from TabControl. The tab might be getting recreated because of restore during this time the current tab & thier ids might not be set. Tab.this will always ensure we get the correct tab id. Change-Id: I396e9ffcb35c468fd3d916ba4cd49cb202a2017c
* Cleanup incognito profileVivek Sekhar2016-01-111-0/+2
| | | | | | | Tabcontrol now destroys the incognito profile when the last incognito tab is closed. Change-Id: I20513a7cee1dc9c0cbf116ac182e5c80de0adfe2
* Fix touch issues on LegalPreviewFragmentVivek Sekhar2016-01-111-0/+16
| | | | | | | | Force a touch event on webview to ensure scroll events get propagated properly when not using top controls. Change-Id: I187fb8896657f777398bc59466ad814c775a9411
* Fix fragment lifecyle in legal credit screenVivek Sekhar2016-01-112-10/+23
| | | | | | | | | WebView was being created everytime onCreateView was called on LegalPreviewFragment. The Webiew was never destroyed which would cause a leak.Fixed to create LegalPreviewFragment only once for the activity. Change-Id: I34361171192d3e262a08929c066443c09dbed8ef
* Disable simultaneous clicking on newtab and incognito buttonsPankaj Garg2016-01-111-0/+4
| | | | Change-Id: Iee29be32bd4365d347c905b863ea35d81b6c6e4b
* Fix issue of losing tab stateVivek Sekhar2016-01-112-3/+14
| | | | | | | | | | Browser makes a backup of tab state when adding visited history and page finished. When browser is being destroyed at times there could be an instance where a background load triggers to write state while the browser is already in cleanup state. This causes to write empty state that looses the previous saved status . Change-Id: I760c36e376c816302f8635c8e73d8b3871faf0b4
* Fix tel: protocol to handle special characterVivek Sekhar2016-01-113-3/+10
| | | | Change-Id: I866ff02f85bb09e8a13bf095c4a136b0b833a86b
* Fix issue with memory monitor killing background tabsVivek Sekhar2016-01-112-13/+17
| | | | | | | | | When multiple tabs are opened in background memory monitor would allow only a certain number of tabs to load, other tabs would never have a chance to save instances which can be restored from WebView. We ensure to restore the background tabs from original URL. Change-Id: I940d4cd8f3b077d5351cb34ce441bd4b74ae689b
* Fixes restore of incognito tab.Vivek Sekhar2016-01-111-1/+1
| | | | | | | Set the incognito URL when restoring an incognito tab that could have been killed by memory monitor. Change-Id: I6bfd9411a6936be717b1a183b993ed7680158510
* Fix flash of comboviewVivek Sekhar2015-12-031-9/+11
| | | | | | | | Hiding the comboview does not check if its visible before starting the animation to hide the view, this causes flash of comboview if multiple calls are made to hide the view. Change-Id: I31da921ee411ac8290df48d8faf6cd4badadaca9
* Reduce bitmap captures on EdgeNavigationPankaj Garg2015-12-031-4/+25
| | | | | | CR-Fixed: SWE-6185 Change-Id: I2609eed98b11733cae9be077a29e78e4ac9dc268
* Support dangerous permission for Android MVivek Sekhar2015-12-032-6/+54
| | | | | | | Change-Id: I4e2b7dbc229afa52e9693630f95b9f4954f2def0 Conflicts: AndroidManifest.xml.jinja2
* Fix compiling m42 with sdk 23Tarun Nainani2015-12-031-7/+11
| | | | Change-Id: Id99349169c138d714b26340b3baa6c9b664ea111
* gello: unbreak "add new folder"jrizzoli2015-11-271-5/+4
| | | | Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Fix issue with webview not readySudheer Koganti2015-11-271-1/+1
| | | | | | | Some times, webview can return 0 for getWidth(). Guard against this when taking a webview snapshot. Change-Id: Id4d40aa90afcb86860237eac084c082b2bc012aa
* Fixing system browser for bookmarks/history/saved pages on Android MKarthikeyan Periasamy2015-11-271-2/+4
| | | | | | | | | | The authorities com.android.browser and browser are registered with empty implementation in Android M which results in browser not getting the content resolver notification for bookmarks and history. Adding a new authority which will be used by the browser on both android M and L device. Change-Id: I65507e335ae4c8cefb4fc4d42d01a3cdab99a7fd
* gello: revamp add/edit bookmark UIjrizzoli2015-11-052-54/+11
| | | | | Change-Id: I24f3fc03a4c9c3b07b7d1a983927b31eab74a8f4 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* gello: revamp download UIjrizzoli2015-11-052-5/+6
| | | | | Change-Id: I457c69a8359359fef81593467b31d2dd8fb57fd6 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* gello: support disabling colored statubarjrizzoli2015-11-053-0/+12
| | | | | | | | Change-Id: I9e7ab50c87d7a4fd86250f84224f7323b49724f7 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it> Conflicts: res/values/strings.xml
* Provide authorization value to the download managerPankaj Garg2015-11-057-21/+37
| | | | | | | | | | | | - Provides the authorization code to the download manager while downloading a file. CR-Fixed: SWE-6011 Change-Id: Id99349169c138d714b26340b3baa6c9b664ea33c Conflicts: src/com/android/browser/DownloadHandler.java
* Fixed default search engine selection in UIVivek Sekhar2015-11-051-6/+6
| | | | | | - Ensure the UI show the user/default search engine CR-Fixed:910238
* Force engine initialization during onCreateVivek Sekhar2015-11-053-6/+9
| | | | | | | | | | - 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
* Fixes issue with handling account change notificationKarthikeyan Periasamy2015-11-051-92/+0
| | | | | | | Removed handling of LOGIN_ACCOUNTS_CHANGED system notification CR-Fixed: 911274 Change-Id: I9769c7ec6aefecc5b9fb9d851020537fe52d2257
* Fixes NullPointerException while setting the bookmark flagKarthikeyan Periasamy2015-11-051-1/+1
| | | | | | | | Added the condition to check the mUrl for null CR-Fixed: 927089 Change-Id: I81aad169dee3911cd03b705c3f411b5f7aebb3b9
* Select search engine based on localeVivek Sekhar2015-11-054-3/+29
| | | | | | | | | | - 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