Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RvApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
lify
RvApp
Commits
6ad60668
Commit
6ad60668
authored
Aug 05, 2019
by
jianglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改强制升级
parent
e5cd2207
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
10 deletions
+12
-10
MainActivity.java
RvClient/src/main/java/com/xxfc/rv/MainActivity.java
+1
-1
SettingActivity.java
...src/main/java/com/rv/rvmine/traveler/SettingActivity.java
+1
-1
VersionCheckBean.java
...n/src/main/java/com/rv/version/bean/VersionCheckBean.java
+10
-8
No files found.
RvClient/src/main/java/com/xxfc/rv/MainActivity.java
View file @
6ad60668
...
@@ -144,7 +144,7 @@ public class MainActivity extends BaseActivity<CommonPresenter>{
...
@@ -144,7 +144,7 @@ public class MainActivity extends BaseActivity<CommonPresenter>{
.
apkPath
(
versionCheckBean
.
getData
().
getDownloadUrl
())
.
apkPath
(
versionCheckBean
.
getData
().
getDownloadUrl
())
.
updateInfo
(
versionCheckBean
.
getData
().
getContent
())
.
updateInfo
(
versionCheckBean
.
getData
().
getContent
())
.
apkSize
(
versionCheckBean
.
getData
().
getPackagesize
())
.
apkSize
(
versionCheckBean
.
getData
().
getPackagesize
())
.
isForce
(
versionCheckBean
.
getData
().
getIsCompe
()
==
0
?
false
:
true
)
.
isForce
(
versionCheckBean
.
getData
().
getIsCompe
l
()
==
0
?
false
:
true
)
.
update
();
.
update
();
}
}
}
}
...
...
module_mine/src/main/java/com/rv/rvmine/traveler/SettingActivity.java
View file @
6ad60668
...
@@ -114,7 +114,7 @@ public class SettingActivity extends BaseStatusActivity<CommonPresenter> {
...
@@ -114,7 +114,7 @@ public class SettingActivity extends BaseStatusActivity<CommonPresenter> {
.
apkPath
(
versionCheckBean
.
getData
().
getDownloadUrl
())
.
apkPath
(
versionCheckBean
.
getData
().
getDownloadUrl
())
.
updateInfo
(
versionCheckBean
.
getData
().
getContent
())
.
updateInfo
(
versionCheckBean
.
getData
().
getContent
())
.
apkSize
(
versionCheckBean
.
getData
().
getPackagesize
())
.
apkSize
(
versionCheckBean
.
getData
().
getPackagesize
())
.
isForce
(
versionCheckBean
.
getData
().
getIsCompe
()
==
0
?
false
:
true
)
.
isForce
(
versionCheckBean
.
getData
().
getIsCompe
l
()
==
0
?
false
:
true
)
.
update
();
.
update
();
}
}
}
else
{
}
else
{
...
...
plugin_version/src/main/java/com/rv/version/bean/VersionCheckBean.java
View file @
6ad60668
...
@@ -31,7 +31,16 @@ public class VersionCheckBean extends BaseBean {
...
@@ -31,7 +31,16 @@ public class VersionCheckBean extends BaseBean {
private
String
content
;
private
String
content
;
private
String
downloadUrl
;
private
String
downloadUrl
;
private
int
downloadSwitch
;
private
int
downloadSwitch
;
private
int
isCompe
;
private
int
isCompel
;
public
int
getIsCompel
()
{
return
isCompel
;
}
public
void
setIsCompel
(
int
isCompel
)
{
this
.
isCompel
=
isCompel
;
}
private
int
weigh
;
private
int
weigh
;
private
long
crtTime
;
private
long
crtTime
;
private
int
isDel
;
private
int
isDel
;
...
@@ -124,12 +133,5 @@ public class VersionCheckBean extends BaseBean {
...
@@ -124,12 +133,5 @@ public class VersionCheckBean extends BaseBean {
this
.
isDel
=
isDel
;
this
.
isDel
=
isDel
;
}
}
public
int
getIsCompe
()
{
return
isCompe
;
}
public
void
setIsCompe
(
int
isCompe
)
{
this
.
isCompe
=
isCompe
;
}
}
}
}
}
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