Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StatInfo_1
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
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
chenyuling
StatInfo_1
Commits
42be5cff
Commit
42be5cff
authored
Aug 03, 2023
by
chenyuling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
减少log代码
parent
9dbc275a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
38 deletions
+3
-38
GroupSizeBean.java
.../main/java/com/srthinker/statinfo/bean/GroupSizeBean.java
+0
-36
MainActivity.java
...rc/main/java/com/srthinker/statinfo/uis/MainActivity.java
+3
-2
No files found.
app/src/main/java/com/srthinker/statinfo/bean/GroupSizeBean.java
deleted
100644 → 0
View file @
9dbc275a
package
com
.
srthinker
.
statinfo
.
bean
;
public
class
GroupSizeBean
{
//private int group;
private
int
interTotal
;
private
int
leaveTotal
;
/*public int getGroup() {
return group;
}
public void setGroup(int group) {
this.group = group;
}*/
public
int
getInterTotal
()
{
return
interTotal
;
}
public
void
setInterTotal
(
int
interTotal
)
{
this
.
interTotal
=
interTotal
;
}
public
int
getLeaveTotal
()
{
return
leaveTotal
;
}
public
void
setLeaveTotal
(
int
leaveTotal
)
{
this
.
leaveTotal
=
leaveTotal
;
}
public
GroupSizeBean
(
int
interTotal
,
int
leaveTotal
)
{
this
.
interTotal
=
interTotal
;
this
.
leaveTotal
=
leaveTotal
;
}
}
app/src/main/java/com/srthinker/statinfo/uis/MainActivity.java
View file @
42be5cff
...
@@ -328,12 +328,13 @@ public class MainActivity extends BaseActivity implements OnTimeUpdateListener,
...
@@ -328,12 +328,13 @@ public class MainActivity extends BaseActivity implements OnTimeUpdateListener,
mLoadDialog
.
dismiss
();
mLoadDialog
.
dismiss
();
}
}
showTips
(
"更新版本,将进行安装"
);
showTips
(
"更新版本,将进行安装"
);
boolean
restricted
=
Utils
.
isRootPermissionRestricted
();
Utils
.
installApp
(
getApplicationContext
(),
new
File
(
installPath
));
/*boolean restricted = Utils.isRootPermissionRestricted();
if (!restricted){
if (!restricted){
Utils.clientInstall(installPath,MainActivity.this);
Utils.clientInstall(installPath,MainActivity.this);
}else{
}else{
Utils.installApp(getApplicationContext(),new File(installPath));
Utils.installApp(getApplicationContext(),new File(installPath));
}
}
*/
});
});
...
...
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