Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
R
ratelvirtuallocation
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ratel-modules
ratelvirtuallocation
Commits
6802981c
Commit
6802981c
authored
May 13, 2021
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
原生定位逻辑不生效问题
parent
4908210b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
build.gradle
app/build.gradle
+2
-2
XPosedPlugin.java
...ain/java/top/littlerich/virtuallocation/XPosedPlugin.java
+1
-0
No files found.
app/build.gradle
View file @
6802981c
...
...
@@ -8,8 +8,8 @@ android {
applicationId
"com.virjar.ratel.virtuallocation"
minSdkVersion
19
targetSdkVersion
28
versionCode
20210
421
versionName
"v1.
4
"
versionCode
20210
513
versionName
"v1.
5
"
archivesBaseName
=
"JDY_${versionName}"
.
replace
(
' '
,
'_'
)
ndk
{
abiFilters
"armeabi-v7a"
,
"arm64-v8a"
//, "x86","arm64-v8a","x86_64"
...
...
app/src/main/java/top/littlerich/virtuallocation/XPosedPlugin.java
View file @
6802981c
...
...
@@ -85,6 +85,7 @@ public class XPosedPlugin implements IRposedHookLoadPackage {
double
tempLat
=
z
*
Math
.
sin
(
theta
);
location
.
setLatitude
(
tempLat
);
location
.
setLongitude
(
tempLng
);
orignalListener
.
onLocationChanged
(
location
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment