tuning Orbot app conflict checker code
This commit is contained in:
parent
c2672cc95f
commit
e53e03a727
|
@ -296,13 +296,13 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
|
|||
{
|
||||
SharedPreferences sprefs = TorServiceUtils.getSharedPrefs(getApplicationContext());
|
||||
|
||||
boolean showAppConflict = sprefs.getBoolean("pref_show_conflict",true);
|
||||
boolean showAppConflict = true;//sprefs.getBoolean("pref_show_conflict",true);
|
||||
|
||||
String[] badApps = {"com.sec.msc.nts.android.proxy|com.sec.msc.nts.android.proxy","com.sec.pcw|Samsung Link"};
|
||||
String[] badApps = {"com.sec.msc.nts.android.proxy:com.sec.msc.nts.android.proxy","com.sec.pcw:Samsung Link"};
|
||||
|
||||
for (String badApp : badApps)
|
||||
{
|
||||
String[] badAppParts = badApp.split("|");
|
||||
String[] badAppParts = badApp.split(":");
|
||||
|
||||
if (appInstalledOrNot(badAppParts[0]))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue