Page MenuHomePhabricator

D5235.id.diff
No OneTemporary

D5235.id.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, 7:48 PM (19 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2585953
Default Alt Text
D5235.id.diff (524 B)

Event Timeline