1.5.0513
bugfixes:增加应用禁用和卸载监听
This commit is contained in:
@@ -84,6 +84,7 @@ public class SysSettingUtils {
|
||||
setUSBstate(context, 1);
|
||||
if (JgyUtils.getInstance().getAppPlatform().equals(JgyUtils.YXPD1TAG)
|
||||
|| JgyUtils.getInstance().getAppPlatform().equals(JgyUtils.C2Tag)
|
||||
|| JgyUtils.getInstance().getAppPlatform().equals(JgyUtils.ZR6016Tag)
|
||||
) {
|
||||
setBluetooth(context, 0);
|
||||
} else {
|
||||
@@ -297,7 +298,7 @@ public class SysSettingUtils {
|
||||
* @param context
|
||||
* @param state 1关闭 0打开
|
||||
*/
|
||||
private static void setBluetooth(Context context, int state) {
|
||||
public static void setBluetooth(Context context, int state) {
|
||||
Log.e(TAG, "setBluetooth: state = " + state);
|
||||
|
||||
MMKV mmkv = MMKV.mmkvWithID(CommonConfig.MMKV_ID, MMKV.MULTI_PROCESS_MODE);
|
||||
|
||||
Reference in New Issue
Block a user