Compare commits
1 commit
b93d1f2ec0
...
c7281880c2
Author | SHA1 | Date | |
---|---|---|---|
c7281880c2 |
3 changed files with 5 additions and 12 deletions
|
@ -1,10 +1,10 @@
|
|||
#include "lpac-convertor.h"
|
||||
|
||||
jobject profile_state_enabled;
|
||||
jobject profile_state_disabled;
|
||||
jobject profile_class_operational;
|
||||
jobject profile_class_provisioning;
|
||||
jobject profile_class_testing;
|
||||
static jobject profile_state_enabled;
|
||||
static jobject profile_state_disabled;
|
||||
static jobject profile_class_operational;
|
||||
static jobject profile_class_provisioning;
|
||||
static jobject profile_class_testing;
|
||||
|
||||
static jobject bind_static_field(JNIEnv *env, jclass clazz, const char *name, const char *sig) {
|
||||
jfieldID field = (*env)->GetStaticFieldID(env, clazz, name, sig);
|
||||
|
|
|
@ -3,12 +3,6 @@
|
|||
#include <jni.h>
|
||||
#include <euicc/es10c.h>
|
||||
|
||||
jobject profile_state_enabled;
|
||||
jobject profile_state_disabled;
|
||||
jobject profile_class_operational;
|
||||
jobject profile_class_provisioning;
|
||||
jobject profile_class_testing;
|
||||
|
||||
#define PROFILE_STATE_CLASS "net/typeblog/lpac_jni/ProfileState"
|
||||
#define PROFILE_CLASS_CLASS "net/typeblog/lpac_jni/ProfileClass"
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ jmethodID string_constructor;
|
|||
|
||||
#define LOCAL_PROFILE_INFO_CLASS "net/typeblog/lpac_jni/LocalProfileInfo"
|
||||
|
||||
|
||||
jint JNI_OnLoad(JavaVM *vm, void *reserved) {
|
||||
jvm = vm;
|
||||
LPAC_JNI_SETUP_ENV;
|
||||
|
|
Loading…
Add table
Reference in a new issue