@@ -66,16 +66,16 @@ public static partial class JNIEnv {
6666
6767 internal static AndroidValueManager ? AndroidValueManager ;
6868
69- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
69+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
7070 extern static void monodroid_log ( LogLevel level , LogCategories category , string message ) ;
7171
72- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
72+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
7373 internal extern static IntPtr monodroid_timing_start ( string ? message ) ;
7474
75- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
75+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
7676 internal extern static void monodroid_timing_stop ( IntPtr sequence , string ? message ) ;
7777
78- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
78+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
7979 internal extern static void monodroid_free ( IntPtr ptr ) ;
8080
8181 public static IntPtr Handle {
@@ -296,7 +296,7 @@ internal static void PropagateUncaughtException (IntPtr env, IntPtr javaThreadPt
296296 }
297297 }
298298
299- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
299+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
300300 extern static void _monodroid_gc_wait_for_bridge_processing ( ) ;
301301
302302#pragma warning disable CS0649 // Field is never assigned to. This field is assigned from monodroid-glue.cc.
@@ -310,7 +310,7 @@ public static void WaitForBridgeProcessing ()
310310 _monodroid_gc_wait_for_bridge_processing ( ) ;
311311 }
312312
313- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
313+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
314314 extern static IntPtr _monodroid_get_identity_hash_code ( IntPtr env , IntPtr value ) ;
315315
316316 internal static Func < IntPtr , IntPtr > ? IdentityHash ;
@@ -597,25 +597,25 @@ internal static void DeleteRef (IntPtr handle, JniHandleOwnership transfer)
597597 }
598598 }
599599
600- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
600+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
601601 internal static extern int _monodroid_gref_log ( string message ) ;
602602
603- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
603+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
604604 internal static extern int _monodroid_gref_log_new ( IntPtr curHandle , byte curType , IntPtr newHandle , byte newType , string ? threadName , int threadId , [ In ] StringBuilder ? from , int from_writable ) ;
605605
606- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
606+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
607607 internal static extern void _monodroid_gref_log_delete ( IntPtr handle , byte type , string ? threadName , int threadId , [ In ] StringBuilder ? from , int from_writable ) ;
608608
609- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
609+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
610610 internal static extern void _monodroid_weak_gref_new ( IntPtr curHandle , byte curType , IntPtr newHandle , byte newType , string ? threadName , int threadId , [ In ] StringBuilder ? from , int from_writable ) ;
611611
612- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
612+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
613613 internal static extern void _monodroid_weak_gref_delete ( IntPtr handle , byte type , string ? threadName , int threadId , [ In ] StringBuilder ? from , int from_writable ) ;
614614
615- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
615+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
616616 internal static extern int _monodroid_lref_log_new ( int lrefc , IntPtr handle , byte type , string ? threadName , int threadId , [ In ] StringBuilder from , int from_writable ) ;
617617
618- [ DllImport ( "__Internal" , CallingConvention = CallingConvention . Cdecl ) ]
618+ [ DllImport ( AndroidRuntime . InternalDllName , CallingConvention = CallingConvention . Cdecl ) ]
619619 internal static extern void _monodroid_lref_log_delete ( int lrefc , IntPtr handle , byte type , string ? threadName , int threadId , [ In ] StringBuilder from , int from_writable ) ;
620620
621621 public static IntPtr NewGlobalRef ( IntPtr jobject )
0 commit comments