diff --git a/README.md b/README.md index aa31f4b..8b1a0cc 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Hook `__system_property_get` in these packages * com.google.android.gsf * com.google.android.gms +* com.google.android.apps.maps and change the return value diff --git a/build.gradle b/build.gradle index 417d66c..6e0be9e 100644 --- a/build.gradle +++ b/build.gradle @@ -22,5 +22,5 @@ android { task zip(type: Exec) { workingDir '..' - commandLine 'sh', 'build.sh', project.name, 'v1' + commandLine 'sh', 'build.sh', project.name, 'v2' } \ No newline at end of file diff --git a/jni/main/main.cpp b/jni/main/main.cpp index 761bea3..3165dee 100644 --- a/jni/main/main.cpp +++ b/jni/main/main.cpp @@ -70,6 +70,7 @@ __attribute__((visibility("default"))) void nativeForkAndSpecializePre(JNIEnv *e if (list.size() == 0) { list.push_back("com.google.android.gms"); list.push_back("com.google.android.gsf"); + list.push_back("com.google.android.apps.maps"); } uid = _uid; enable_hook = is_app_need_hook(env, appDataDir); diff --git a/riru-location-report-enabler.iml b/riru-location-report-enabler.iml index 4b0bbe1..b983758 100644 --- a/riru-location-report-enabler.iml +++ b/riru-location-report-enabler.iml @@ -110,7 +110,6 @@ - diff --git a/template_override/module.prop b/template_override/module.prop index 516fbd9..2bcaeea 100644 --- a/template_override/module.prop +++ b/template_override/module.prop @@ -1,7 +1,7 @@ id=riru_location_report_enabler name=Riru - Location Report Enabler -version=v1 -versionCode=1 +version=v2 +versionCode=2 author=Rikka description=Enable location report by hook system_property_get. Require Riru - Core installed. minMagisk=1500 diff --git a/template_override/riru_module.prop b/template_override/riru_module.prop index 89f8fb0..51fb976 100644 --- a/template_override/riru_module.prop +++ b/template_override/riru_module.prop @@ -1,5 +1,5 @@ name=Module template -version=v1 -versionCode=1 +version=v2 +versionCode=2 author=Rikka description=Module template \ No newline at end of file