version:2.0.8

bugfixes:
update:更滑图标,增加获取系统设置
This commit is contained in:
2025-09-08 18:19:15 +08:00
parent 7ba6544143
commit 8229219fc1
41 changed files with 1066 additions and 181 deletions

View File

@@ -4,8 +4,9 @@ package com.uiui.zyos.bean;
import com.google.gson.Gson;
import com.google.gson.JsonParser;
import org.jetbrains.annotations.NotNull;
import java.io.Serializable;
import java.util.List;
public class SystemSettings implements Serializable {
@@ -37,7 +38,7 @@ public class SystemSettings implements Serializable {
int qch_restore;
int setting_browserInput;
int dev_mode;
List<Contact> setting_sos;
String setting_sos;
String setting_volume;
String setting_luminance;
String setting_typeface;
@@ -55,11 +56,21 @@ public class SystemSettings implements Serializable {
int setting_location;
int setting_charge;
int setting_other_appInstaller;
int is_quickapp;
String quickapp;
int is_storeinstall;
int is_timecontrol;
String timecontrol_start;
String timecontrol_end;
int is_return_android;
int is_health;
int is_shopping;
int is_info;
int is_bluetooth_share;
int is_developer_mode;
int is_device_recover;
int is_top_notify;
int is_bottom_bar;
int is_notify_bar_show;
int voice_assistant;
public int getQch_restore() {
return qch_restore;
@@ -262,11 +273,11 @@ public class SystemSettings implements Serializable {
this.setting_hotspot = setting_hotspot;
}
public List<Contact> getSetting_sos() {
public String getSetting_sos() {
return setting_sos;
}
public void setSetting_sos(List<Contact> setting_sos) {
public void setSetting_sos(String setting_sos) {
this.setting_sos = setting_sos;
}
@@ -398,30 +409,119 @@ public class SystemSettings implements Serializable {
this.setting_other_appInstaller = setting_other_appInstaller;
}
public int getIs_health() {
return is_health;
public int getIs_quickapp() {
return is_quickapp;
}
public void setIs_health(int is_health) {
this.is_health = is_health;
public void setIs_quickapp(int is_quickapp) {
this.is_quickapp = is_quickapp;
}
public int getIs_shopping() {
return is_shopping;
public String getQuickapp() {
return quickapp;
}
public void setIs_shopping(int is_shopping) {
this.is_shopping = is_shopping;
public void setQuickapp(String quickapp) {
this.quickapp = quickapp;
}
public int getIs_info() {
return is_info;
public int getIs_storeinstall() {
return is_storeinstall;
}
public void setIs_info(int is_info) {
this.is_info = is_info;
public void setIs_storeinstall(int is_storeinstall) {
this.is_storeinstall = is_storeinstall;
}
public int getIs_timecontrol() {
return is_timecontrol;
}
public void setIs_timecontrol(int is_timecontrol) {
this.is_timecontrol = is_timecontrol;
}
public String getTimecontrol_start() {
return timecontrol_start;
}
public void setTimecontrol_start(String timecontrol_start) {
this.timecontrol_start = timecontrol_start;
}
public String getTimecontrol_end() {
return timecontrol_end;
}
public void setTimecontrol_end(String timecontrol_end) {
this.timecontrol_end = timecontrol_end;
}
public int getIs_return_android() {
return is_return_android;
}
public void setIs_return_android(int is_return_android) {
this.is_return_android = is_return_android;
}
public int getIs_bluetooth_share() {
return is_bluetooth_share;
}
public void setIs_bluetooth_share(int is_bluetooth_share) {
this.is_bluetooth_share = is_bluetooth_share;
}
public int getIs_developer_mode() {
return is_developer_mode;
}
public void setIs_developer_mode(int is_developer_mode) {
this.is_developer_mode = is_developer_mode;
}
public int getIs_device_recover() {
return is_device_recover;
}
public void setIs_device_recover(int is_device_recover) {
this.is_device_recover = is_device_recover;
}
public int getIs_top_notify() {
return is_top_notify;
}
public void setIs_top_notify(int is_top_notify) {
this.is_top_notify = is_top_notify;
}
public int getIs_bottom_bar() {
return is_bottom_bar;
}
public void setIs_bottom_bar(int is_bottom_bar) {
this.is_bottom_bar = is_bottom_bar;
}
public int getIs_notify_bar_show() {
return is_notify_bar_show;
}
public void setIs_notify_bar_show(int is_notify_bar_show) {
this.is_notify_bar_show = is_notify_bar_show;
}
public int getVoice_assistant() {
return voice_assistant;
}
public void setVoice_assistant(int voice_assistant) {
this.voice_assistant = voice_assistant;
}
@NotNull
@Override
public String toString() {
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();