mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-11 08:27:50 -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;
|
package org.kiwix.kiwixmobile.di.modules;
|
||||||
|
|
||||||
|
import android.content.Context;
|
||||||
import dagger.Module;
|
import dagger.Module;
|
||||||
import dagger.Provides;
|
import dagger.Provides;
|
||||||
import javax.inject.Singleton;
|
import javax.inject.Singleton;
|
||||||
@ -29,7 +30,7 @@ import org.kiwix.kiwixlib.JNIKiwix;
|
|||||||
@Module public class JNIModule {
|
@Module public class JNIModule {
|
||||||
@Provides
|
@Provides
|
||||||
@Singleton
|
@Singleton
|
||||||
public JNIKiwix providesJNIKiwix() {
|
public JNIKiwix providesJNIKiwix(Context context) {
|
||||||
return new JNIKiwix();
|
return new JNIKiwix(context);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user