MCPcopy Create free account
hub / github.com/cinit/TMoe / requiresUiThread

Method requiresUiThread

app/src/main/java/cc/ioctl/tmoe/util/SyncUtils.java:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 }
41
42 public static void requiresUiThread() {
43 requiresUiThread(null);
44 }
45
46 public static void requiresUiThread(@Nullable String msg) {
47 if (Looper.myLooper() != Looper.getMainLooper()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected