version:6.4.7
fix: update:增加绑定手机和绑定状态,增加扫码绑定
This commit is contained in:
@@ -399,8 +399,8 @@ public class SysSettingUtils {
|
||||
|
||||
//状态栏显示开关
|
||||
int setting_statusbar = changeNum(jsonObject.get("setting_statusbar").getAsInt());
|
||||
int oldNum = Settings.System.getInt(context.getContentResolver(), CommonConfig.AOLE_ACTION_HIDE_STATUS_BAR, 0);
|
||||
if (oldNum != setting_statusbar) {
|
||||
// int oldNum = Settings.System.getInt(context.getContentResolver(), CommonConfig.AOLE_ACTION_HIDE_STATUS_BAR, 0);
|
||||
// if (oldNum != setting_statusbar) {
|
||||
//写入到系统不涉及任何管控,因为之前调用会频繁隐藏显示
|
||||
boolean aole_hide_statusBar = Settings.System.putInt(context.getContentResolver(), CommonConfig.AOLE_ACTION_HIDE_STATUS_BAR, setting_statusbar);
|
||||
Log.e(TAG, "aole_hide_statusBar: " + aole_hide_statusBar);
|
||||
@@ -417,7 +417,7 @@ public class SysSettingUtils {
|
||||
Intent statusIntent = new Intent(statusbarStatus);
|
||||
// Intent statusIntent = new Intent(statusbarStatus).setPackage("com.android.systemui");
|
||||
context.sendBroadcast(statusIntent);
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
private static void setCamera(Context context, int state) {
|
||||
|
||||
Reference in New Issue
Block a user