remove dht debug logs

This commit is contained in:
Akinwale Ariwodola 2020-03-17 23:10:10 +01:00
parent bfd3c711ab
commit 5b165a2339

View file

@ -157,9 +157,7 @@ public class MainActivity extends FragmentActivity implements DefaultHardwareBac
// Start the sdk service if it is not started // Start the sdk service if it is not started
// Check the dht setting // Check the dht setting
SharedPreferences sp = getSharedPreferences(MainActivity.SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE); SharedPreferences sp = getSharedPreferences(MainActivity.SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE);
android.util.Log.d("ReactNativeJS", "getBooleanValue=" + sp.getBoolean(UtilityModule.DHT_ENABLED, false));
LbrynetService.setDHTEnabled(sp.getBoolean(UtilityModule.DHT_ENABLED, false)); LbrynetService.setDHTEnabled(sp.getBoolean(UtilityModule.DHT_ENABLED, false));
android.util.Log.d("ReactNativeJS", "DHTEnabled=" + LbrynetService.isDHTEnabled());
serviceRunning = isServiceRunning(this, LbrynetService.class); serviceRunning = isServiceRunning(this, LbrynetService.class);
if (!serviceRunning) { if (!serviceRunning) {