2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00
iceraven-browser/app
MozLando e70293217c [fenix] Merge https://github.com/mozilla-mobile/fenix/pull/5775
5775: Closes https://github.com/mozilla-mobile/fenix/issues/5233, don't display private-browsing-shortcut creation items if shortcut already exists r=NotWoods a=bswe

Closes issue https://github.com/mozilla-mobile/fenix/issues/5233:

Added doesPrivateBrowsingPinnedShortcutExist() method to the PrivateShortcutCreateManager class to check for the existence of the shortcut.  Code only works on devices with API 25 or higher, so a check for that condition was also included in the new method.

Calls to the new method were added to the SettingsFragment and HomeFragment classes to determine whether the settings menu item and the recommendation dialog should be displayed.

**Quality**: The pre-push test failed to start on my windows 10 OS, but this code has been thoroughly tested manually on simulators and physical devices.

**Tests**: This code only effects UI appearance so not sure how to test for that and no tests were written.

**Screenshots**: This code does not add anything new to the UI, it only controls whether to display existing items.

Co-authored-by: bswe <bbollenbacher@mindspring.com>
2019-10-14 22:23:45 +00:00
..
src [fenix] Merge https://github.com/mozilla-mobile/fenix/pull/5775 2019-10-14 22:23:45 +00:00
.gitignore
build.gradle [fenix] Merge https://github.com/mozilla-mobile/fenix/pull/5933 2019-10-11 18:28:31 +00:00
lint.xml
metrics.yaml [fenix] For https://github.com/mozilla-mobile/fenix/issues/5094: Adds telemetry for show search shortcuts 2019-10-10 22:52:41 -07:00
pings.yaml
proguard-rules.pro [fenix] For https://github.com/mozilla-mobile/fenix/issues/373 - Integrate leanplum-fcm 2019-10-09 14:43:48 -07:00