"Trackers blocked" status is changed from OFF to ON, for shortcuts, after the browser is closed
Steps to reproduce
- Open a webpage and turn off tracking protection.
- Select 'Add to Home screen' from the 3 dots menu.
- Close the browser.
- Launch the shortcut.
Expected behavior
The webpage is loaded, with TP still OFF.
Actual behavior
The webpage is loaded, with TP ON.
- Not reproducible on Focus - Play Store.
Device information
- Android device: Samsung Note 10(Android 11), LG G7 Fit (Android 8.1)
- Focus version: dev build #1186.0.1- 20210310152336
This may be caused by the missing GV API to load private tracking protection APIs on startup.
I would like to work on this ticket
After some debugging I noticed that tracking exception list is always empty after addException and saveExceptionList, so for that I logged a bug on Gecko board
Thanks for taking a look @ionutbedregeanu, I think the issue is related to what @pocmo mentioned, as GeckoView at the moment doesn't allow to add exceptions for private tabs, this will be covered a part of the work on https://github.com/mozilla-mobile/android-components/pull/10316 , https://github.com/mozilla-mobile/focus-android/pull/4899 when these Gecko View patches land.
@Amejia481, Are the GV and AC changes ready?
It was partially covered on https://github.com/mozilla-mobile/focus-android/pull/4899, we noticed that there is a missing part of GV, but they are going to take some time on implementing it, we are trying to do a workaround on to cover it https://github.com/mozilla-mobile/focus-android/pull/4977.
The GeckoView API landed so this should be ready to implement now.
We are covering this work on https://github.com/mozilla-mobile/focus-android/pull/5729 :)
For QA: Is this issue still reproducible after #5729? Thank you!
We have #5245 covering this issue. We can close this one.