Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
add com.google.android.apps.maps
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkaW committed Aug 20, 2018
1 parent e3ff064 commit 900dbf4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ android {

task zip(type: Exec) {
workingDir '..'
commandLine 'sh', 'build.sh', project.name, 'v1'
commandLine 'sh', 'build.sh', project.name, 'v2'
}
1 change: 1 addition & 0 deletions jni/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion riru-location-report-enabler.iml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/ndkBuild" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 28 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
Expand Down
4 changes: 2 additions & 2 deletions template_override/module.prop
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions template_override/riru_module.prop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Module template
version=v1
versionCode=1
version=v2
versionCode=2
author=Rikka
description=Module template

0 comments on commit 900dbf4

Please sign in to comment.