Commit d4c7b1b9 by Fear1ess

4/6

parent 63e0f769
...@@ -167,6 +167,8 @@ void collect_imei(JNIEnv *env, cJSON *json) { ...@@ -167,6 +167,8 @@ void collect_imei(JNIEnv *env, cJSON *json) {
logd(WD_COLLECT, "%s", "collect imei finished..."); logd(WD_COLLECT, "%s", "collect imei finished...");
} }
void collect_android_id(JNIEnv* env, cJSON* json) { void collect_android_id(JNIEnv* env, cJSON* json) {
jstring key_str = (*env)->NewStringUTF(env, "android_id"); jstring key_str = (*env)->NewStringUTF(env, "android_id");
jobject cr = wdCallObjectMethod(env, g_app_context, "getContentResolver", "()Landroid/content/ContentResolver;"); jobject cr = wdCallObjectMethod(env, g_app_context, "getContentResolver", "()Landroid/content/ContentResolver;");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment