Changes for Incognito Settings
* Always disable location (even if explicitly set in settings)
* Never save passwords or form data
* Always set mixed content mode to NEVER ALLOW
* Disable DOM storage
Rather than try to correct the issue of the Comparator crashing in
BookmarkManager because the Strings/HistoryItems were null, I modified
the HistoryItem object so that the title, url, and folder strings can no
longer be null but will instead be empty if set to null, this then
prevents the BookmarkManager from throwing an NPE when sorting the items
by title.
Since the maximum amount of displayed suggestions is set at 5, it makes
sense to limit the query to a maximum of 5. This speeds up the query
significantly which makes queries more responsive.
This commit prevents an user from zooming in the Home Page, Bookmarks
Page and History Page.
On some devices, for examlpe, some tablets with low dpi, tapping the
search bar in the Home Page would zoom the browser in about 25% and then
open the keyboard. That looks weird.
Also, the Lightning Browser does not allow zooming in the Settings menu
and the Tabs/Bookmarks sidebars. Allowing the user to zoom in one place
of the UI and not in the other is inconsitent.
When a user was zooming using the "double tap and while holding swipe
up/down" gesture, the "Open/Download/New Tab" dialog would be shown,
ending the zooming gesture, what made zooming using that gesture
impossible. This commit fixed that issue.
Saying you might sometimes accidentally click "yes"
when editing user agent string and then the previous setting
goes away or there is a typo in the customized string
and you want to modify it slightly.
And making the agent picker remember the previous value
solves all the problems above :)