I/O errors are to be expected

pull/184/head
M66B 4 years ago
parent 0bff5014af
commit 37a6447bbb

@ -55,6 +55,7 @@ import androidx.constraintlayout.widget.Group;
import androidx.lifecycle.Lifecycle; import androidx.lifecycle.Lifecycle;
import androidx.preference.PreferenceManager; import androidx.preference.PreferenceManager;
import java.io.IOException;
import java.text.DateFormat; import java.text.DateFormat;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
@ -284,7 +285,7 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer
@Override @Override
protected void onException(Bundle args, Throwable ex) { protected void onException(Bundle args, Throwable ex) {
Log.unexpectedError(getParentFragmentManager(), ex); Log.unexpectedError(getParentFragmentManager(), ex, !(ex instanceof IOException));
} }
}.execute(FragmentOptionsPrivacy.this, new Bundle(), "disconnect"); }.execute(FragmentOptionsPrivacy.this, new Bundle(), "disconnect");
} }

Loading…
Cancel
Save