Commit 6802981c authored by Administrator's avatar Administrator

原生定位逻辑不生效问题

parent 4908210b
...@@ -8,8 +8,8 @@ android { ...@@ -8,8 +8,8 @@ android {
applicationId "com.virjar.ratel.virtuallocation" applicationId "com.virjar.ratel.virtuallocation"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 28 targetSdkVersion 28
versionCode 20210421 versionCode 20210513
versionName "v1.4" versionName "v1.5"
archivesBaseName = "JDY_${versionName}".replace(' ', '_') archivesBaseName = "JDY_${versionName}".replace(' ', '_')
ndk { ndk {
abiFilters "armeabi-v7a", "arm64-v8a"//, "x86","arm64-v8a","x86_64" abiFilters "armeabi-v7a", "arm64-v8a"//, "x86","arm64-v8a","x86_64"
......
...@@ -85,6 +85,7 @@ public class XPosedPlugin implements IRposedHookLoadPackage { ...@@ -85,6 +85,7 @@ public class XPosedPlugin implements IRposedHookLoadPackage {
double tempLat = z * Math.sin(theta); double tempLat = z * Math.sin(theta);
location.setLatitude(tempLat); location.setLatitude(tempLat);
location.setLongitude(tempLng); location.setLongitude(tempLng);
orignalListener.onLocationChanged(location);
} }
} }
......
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