bugfixes:优化蓝牙开关,增加u1302平台,准备迁移到高版本AndroidStudio
This commit is contained in:
2025-06-10 16:38:54 +08:00
parent 3056267c4e
commit 60dab59ef8
17 changed files with 402 additions and 84 deletions

View File

@@ -392,11 +392,11 @@ public class SysSettingUtils {
}
int old_setting_bht = Settings.System.getInt(context.getContentResolver(), CommonConfig.AOLE_ACTION_BHT_FORBID_ON, 0);
int old_setting_bht = Settings.System.getInt(context.getContentResolver(), CommonConfig.AOLE_ACTION_BHT_FORBID_ON, 1);
Log.e(TAG, "setBluetooth: old_setting_bht = " + old_setting_bht);
int old_setting_bluetooth = Settings.System.getInt(context.getContentResolver(), CommonConfig.AOLE_ACTION_BT_FORBID_ON, 0);
int old_setting_bluetooth = Settings.System.getInt(context.getContentResolver(), CommonConfig.AOLE_ACTION_BT_FORBID_ON, 1);
Log.e(TAG, "setBluetooth: old_setting_bluetooth = " + old_setting_bluetooth);
int old_setting_bhtvideo = mmkv.decodeInt(CommonConfig.AOLE_ACTION_BHTVIDEO_FORBID_ON, 0);
int old_setting_bhtvideo = mmkv.decodeInt(CommonConfig.AOLE_ACTION_BHTVIDEO_FORBID_ON, 1);
Log.e(TAG, "setBluetooth: old_setting_bhtvideo = " + old_setting_bhtvideo);