commit c70dafdb07f7b7b6d65d33cf1549ecc62fed064e Author: n8fr8 nathan@freitas.net Date: Tue Aug 1 16:16:17 2017 -0400
partial fix for #5 disabling experiments and telemtry
Signed-off-by: Amogh Pradeep amoghbl1@gmail.com --- mobile/android/base/java/org/mozilla/gecko/BrowserApp.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java index 6cbad4c153c5..47cb6249d09a 100644 --- a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java +++ b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java @@ -610,7 +610,9 @@ public class BrowserApp extends GeckoApp }
final SafeIntent intent = new SafeIntent(getIntent()); - final boolean isInAutomation = IntentUtils.getIsInAutomationFromEnvironment(intent); + + //Orfox: this disables Switchboard testing experiments and Telemtry Uploading + final boolean isInAutomation = true; //IntentUtils.getIsInAutomationFromEnvironment(intent);
// This has to be prepared prior to calling GeckoApp.onCreate, because // widget code and BrowserToolbar need it, and they're created by the
tor-commits@lists.torproject.org