Page MenuHomePhabricator

D5235.id17412.diff
No OneTemporary

D5235.id17412.diff

diff --git a/native/android/app/src/cpp/jniHelpers.h b/native/android/app/src/cpp/jniHelpers.h
--- a/native/android/app/src/cpp/jniHelpers.h
+++ b/native/android/app/src/cpp/jniHelpers.h
@@ -19,4 +19,13 @@
}
};
+struct Runnable : public jni::JavaClass<Runnable> {
+ static constexpr auto kJavaDescriptor = "Ljava/lang/Runnable;";
+ void run() {
+ static const auto method =
+ jni::findClassStatic("java/lang/Runnable")->getMethod<void()>("run");
+ method(this->self());
+ }
+};
+
} // namespace comm

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 10:16 PM (19 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2585953
Default Alt Text
D5235.id17412.diff (524 B)

Event Timeline