1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 03:11:30 +00:00

Don't log config (fixes #1107)

This commit is contained in:
Catfriend1 2018-05-29 20:57:26 +02:00 committed by Audrius Butkevicius
parent a3d49970ee
commit b33d966eff

View file

@ -163,11 +163,11 @@ public class RestApi implements SyncthingService.OnWebGuiAvailableListener {
}
private void onReloadConfigComplete(String result) {
Log.v(TAG, "onReloadConfigComplete: " + result);
mConfig = new Gson().fromJson(result, Config.class);
if (mConfig == null) {
throw new RuntimeException("config is null: " + result);
}
Log.v(TAG, "onReloadConfigComplete: Successfully parsed configuration.");
// Update cached device and folder information stored in the mCompletion model.
mCompletion.updateFromConfig(getDevices(true), getFolders());