check for evil samsung proxy app that blocks 9050
This commit is contained in:
parent
37eddfcbd2
commit
4c0d7ada8f
|
@ -98,6 +98,8 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
|
||||||
|
|
||||||
mTorService = new Intent(this, TorService.class);
|
mTorService = new Intent(this, TorService.class);
|
||||||
getApplication().getApplicationContext().startService(mTorService);
|
getApplication().getApplicationContext().startService(mTorService);
|
||||||
|
|
||||||
|
appConflictChecker ();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -278,6 +280,22 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void appConflictChecker ()
|
||||||
|
{
|
||||||
|
|
||||||
|
String[] badApps = {"com.sec.msc.nts.android.proxy"};
|
||||||
|
|
||||||
|
for (String badApp : badApps)
|
||||||
|
{
|
||||||
|
if (appInstalledOrNot(badApp))
|
||||||
|
{
|
||||||
|
showAlert(getString(R.string.title_error),"Please uninstall or disable this app if you are having problems with Orbot: " + badApp,true);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void showAbout ()
|
private void showAbout ()
|
||||||
|
|
Loading…
Reference in New Issue