version:2.3
fix:增加上传日志功能,优化一键加速功能 update:
This commit is contained in:
37
app/src/main/java/com/aoleyun/sn/comm/CommonConfig.java
Normal file
37
app/src/main/java/com/aoleyun/sn/comm/CommonConfig.java
Normal file
@@ -0,0 +1,37 @@
|
||||
package com.aoleyun.sn.comm;
|
||||
|
||||
|
||||
public class CommonConfig {
|
||||
//保存的用户信息
|
||||
/*用户id*/
|
||||
public final static String ADMIN_ID = "admin_id";
|
||||
/*批次名*/
|
||||
public final static String BATCH_NAME = "batch";
|
||||
/*班级*/
|
||||
public final static String CLASS_NAME = "classes";
|
||||
/*姓名*/
|
||||
public final static String REALNAME = "realname";
|
||||
/*学号*/
|
||||
public final static String STUDENT_ID = "sno";
|
||||
/*头像*/
|
||||
public final static String HEAD_IMG = "head_img";
|
||||
//保存的用户信息
|
||||
|
||||
/*首次启动app*/
|
||||
public final static String FIRST_STARTUP = "app_first_startup";
|
||||
/*保存的应用版本号*/
|
||||
public final static String SN_VERSIONCODE = "SN_VERSIONCODE";
|
||||
/*重启标识*/
|
||||
public final static String IS_RESET = "IS_RESET";
|
||||
/*最低电量*/
|
||||
public final static int MIN_POWER = 21;
|
||||
/*强制安装列表*/
|
||||
public final static String FORCE_INSTALL = "FORCE_INSTALL";
|
||||
/*firstEnter状态*/
|
||||
public final static String FLAG_FIRST_ENTER = "qch_first_enter";
|
||||
/*首次连接*/
|
||||
public final static String JGY_FIRST_CONNECT = "first_connect";
|
||||
/*定时上传log*/
|
||||
public final static String UPLOAD_LOG_TYPE = "is_log_type";
|
||||
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.aoleyun.sn.comm;
|
||||
|
||||
|
||||
public class CommonDatas {
|
||||
public final static String IS_RESET = "IS_RESET";
|
||||
public final static int MIN_POWER = 21;
|
||||
public final static String FORCE_INSTALL = "FORCE_INSTALL";
|
||||
public final static String FLAG_FIRST_ENTER = "qch_first_enter";
|
||||
}
|
||||
34
app/src/main/java/com/aoleyun/sn/comm/JGYActions.java
Normal file
34
app/src/main/java/com/aoleyun/sn/comm/JGYActions.java
Normal file
@@ -0,0 +1,34 @@
|
||||
package com.aoleyun.sn.comm;
|
||||
|
||||
public class JGYActions {
|
||||
/*锁定解锁设备 后台1是锁定,底层0是锁定*/
|
||||
public final static String ACTION_QCH_UNLOCK_IPAD = "qch_unlock_ipad";
|
||||
/*后台锁定*/
|
||||
public final static int NET_CODE_LOCKED = 1;
|
||||
/*后台解锁*/
|
||||
public final static int NET_CODE_UNLOCKED = 0;
|
||||
/*底层锁定*/
|
||||
public final static int FRAME_CODE_LOCKED = 0;
|
||||
/*底层解锁*/
|
||||
public final static int FRAME_CODE_UNLOCKED = 1;
|
||||
|
||||
/*
|
||||
* 需要写到底层的数据
|
||||
* */
|
||||
|
||||
/*应用管理-允许联网*/
|
||||
public final static String ACTION_HRRECEIVER_JGY = "qch_jgy_network_allow";
|
||||
/*应用管理-禁止联网*/
|
||||
public final static String ACTION_HRRECEIVER_JGY_DIS = "qch_jgy_network_disallow";
|
||||
/*状态栏*/
|
||||
public final static String ACTION_STATUSBAR_STATUS = "jgy_statusbar_status";
|
||||
|
||||
|
||||
/*
|
||||
* 应用内部的数据
|
||||
* */
|
||||
|
||||
//后台上传所有应用包名 将添加到桌面
|
||||
// TODO: 2021/10/13
|
||||
public final static String ACTION_JGY_SHORTCUTLIST = "only_jgy_shortcut_list";
|
||||
}
|
||||
Reference in New Issue
Block a user