mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 23:07:26 -04:00
#1259 Crash Report: UnsatisfiedLinkError - integrate with changes to kiwix-lib
This commit is contained in:
parent
249c00ec03
commit
ce97adc7ee
@ -17,6 +17,7 @@
|
||||
*/
|
||||
package org.kiwix.kiwixmobile.di.modules;
|
||||
|
||||
import android.content.Context;
|
||||
import dagger.Module;
|
||||
import dagger.Provides;
|
||||
import javax.inject.Singleton;
|
||||
@ -29,7 +30,7 @@ import org.kiwix.kiwixlib.JNIKiwix;
|
||||
@Module public class JNIModule {
|
||||
@Provides
|
||||
@Singleton
|
||||
public JNIKiwix providesJNIKiwix() {
|
||||
return new JNIKiwix();
|
||||
public JNIKiwix providesJNIKiwix(Context context) {
|
||||
return new JNIKiwix(context);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user