Debug cleanup

pull/206/head
M66B 3 years ago
parent f495eb51ab
commit 302c3c9f54

@ -686,10 +686,14 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
}, new Runnable() {
@Override
public void run() {
if (BuildConfig.DEBUG) {
ContactInfo.clearCache(ActivityView.this, true);
ToastEx.makeText(ActivityView.this, R.string.title_completed, Toast.LENGTH_LONG).show();
}
if (BuildConfig.DEBUG)
try {
DnsBlockList.clearCache();
ContactInfo.clearCache(ActivityView.this, true);
ToastEx.makeText(ActivityView.this, R.string.title_completed, Toast.LENGTH_LONG).show();
} catch (Throwable ex) {
Log.unexpectedError(getSupportFragmentManager(), ex);
}
}
}));

Loading…
Cancel
Save