[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser/tor-browser-52.7.2esr-8.0-1] partial fix for #5 disabling experiments and telemtry



commit c70dafdb07f7b7b6d65d33cf1549ecc62fed064e
Author: n8fr8 <nathan@xxxxxxxxxxx>
Date:   Tue Aug 1 16:16:17 2017 -0400

    partial fix for #5 disabling experiments and telemtry
    
    Signed-off-by: Amogh Pradeep <amoghbl1@xxxxxxxxx>
---
 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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits