MCPcopy Create free account
hub / github.com/M66B/FairEmail / clear

Method clear

app/src/main/java/eu/faircode/email/EntityLog.java:180–188  ·  view source on GitHub ↗
(final Context context)

Source from the content-addressed store, hash-verified

178 }
179
180 static void clear(final Context context) {
181 final Context acontext = context.getApplicationContext();
182 Helper.getParallelExecutor().submit(new Runnable() {
183 @Override
184 public void run() {
185 cleanup(acontext, new Date().getTime());
186 }
187 });
188 }
189
190 private static void cleanup(final Context context, final long before) {
191 Log.i("Log cleanup interval=" + LOG_CLEANUP_INTERVAL);

Callers 15

onCheckedChangedMethod · 0.95
onMenuClearMethod · 0.95
verifyNsecMethod · 0.45
onChangedMethod · 0.45
monitorAccountMethod · 0.45
onDestroyMethod · 0.45
runMethod · 0.45
initMethod · 0.45
onExecutedMethod · 0.45
onExecutedMethod · 0.45
sanitizeMethod · 0.45

Calls 1

getParallelExecutorMethod · 0.95

Tested by

no test coverage detected