mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-01-10 20:15:54 +00:00
Don't log config (fixes #1107)
This commit is contained in:
parent
a3d49970ee
commit
b33d966eff
1 changed files with 1 additions and 1 deletions
|
@ -163,11 +163,11 @@ public class RestApi implements SyncthingService.OnWebGuiAvailableListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onReloadConfigComplete(String result) {
|
private void onReloadConfigComplete(String result) {
|
||||||
Log.v(TAG, "onReloadConfigComplete: " + result);
|
|
||||||
mConfig = new Gson().fromJson(result, Config.class);
|
mConfig = new Gson().fromJson(result, Config.class);
|
||||||
if (mConfig == null) {
|
if (mConfig == null) {
|
||||||
throw new RuntimeException("config is null: " + result);
|
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.
|
// Update cached device and folder information stored in the mCompletion model.
|
||||||
mCompletion.updateFromConfig(getDevices(true), getFolders());
|
mCompletion.updateFromConfig(getDevices(true), getFolders());
|
||||||
|
|
Loading…
Reference in a new issue