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:
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) {
|
||||
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());
|
||||
|
|
Loading…
Reference in a new issue