We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AndroidBinder.init()
1 parent 949fa5a commit f2e9535Copy full SHA for f2e9535
1 file changed
Sources/AndroidOS/IBinderNDK.swift
@@ -56,7 +56,7 @@ internal extension AndroidBinder {
56
* the Java object is of the wrong type, this will return null.
57
*/
58
convenience init(_ javaObject: jobject, environment: JNIEnvironment) {
59
- guard let pointer = AParcel_fromJavaParcel(environment, javaObject) else {
+ guard let pointer = AIBinder_fromJavaBinder(environment, javaObject) else {
60
fatalError("Unable to initialize from Java object")
61
}
62
self.init(pointer)
0 commit comments