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

[tor-commits] [snowflake-mobile/master] Removed button auto-click in testing env, to avoid confusion



commit 531630460a4cb5d504d2afbc561e81bda06bc06f
Author: Hashik Donthineni <HashikDonthineni@xxxxxxxxx>
Date:   Tue Jul 7 20:25:07 2020 +0530

    Removed button auto-click in testing env, to avoid confusion
---
 app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java b/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java
index 0b11c22..0ac2407 100644
--- a/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java
+++ b/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java
@@ -55,8 +55,6 @@ public class MainFragment extends Fragment {
             else
                 callback.serviceToggle(ForegroundServiceConstants.ACTION_START);
         });
-        if (BuildConfig.DEBUG)
-            startButton.performClick(); //To perform an automatic click in testing environment.
 
         // Inflate the layout for this fragment
         return rootView;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits