Commit 42be5cff authored by chenyuling's avatar chenyuling

减少log代码

parent 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;
}
}
...@@ -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));
} }*/
}); });
......
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