Task no log implies no count

pull/194/head
M66B 5 years ago
parent 765368afb0
commit 941705ec7a

@ -5071,7 +5071,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
protected void onException(Bundle args, Throwable ex) { protected void onException(Bundle args, Throwable ex) {
Log.unexpectedError(getParentFragmentManager(), ex); Log.unexpectedError(getParentFragmentManager(), ex);
} }
}.execute(this, args, "messages:expand"); }.setLog(false).execute(this, args, "messages:expand");
} }
private void handleAutoClose() { private void handleAutoClose() {

@ -64,6 +64,8 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
public SimpleTask<T> setLog(boolean log) { public SimpleTask<T> setLog(boolean log) {
this.log = log; this.log = log;
if (!log)
this.count = false;
return this; return this;
} }

Loading…
Cancel
Save