1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-11-30 21:48:06 +00:00

try to fix failing CI

This commit is contained in:
Christian Schabesberger
2016-07-25 12:11:55 +02:00
parent 1fd6685b3b
commit 8fbee92255
3 changed files with 6 additions and 4 deletions

View File

@@ -41,13 +41,15 @@ public class App extends Application {
ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(this).build();
ImageLoader.getInstance().init(config);
/*
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
if(prefs.getBoolean(getString(R.string.use_tor_key), false)) {
OrbotHelper.requestStartTor(this);
configureTor(true);
} else {
configureTor(false);
}
}*/
configureTor(false);
// DO NOT REMOVE THIS FUNCTION!!!
// Otherwise downloadPathPreference has invalid value.