version:2.3
fix: add:优化上传app信息失败
This commit is contained in:
@@ -86,11 +86,6 @@ public class ControlManager {
|
||||
}
|
||||
}
|
||||
|
||||
private void setAppstoreAdmin(SystemSettings settings) {
|
||||
int setting_admin_app = settings.getSetting_admin_app();
|
||||
Settings.System.putInt(mResolver, "setting_admin_app", setting_admin_app);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关闭所有功能
|
||||
*/
|
||||
@@ -675,10 +670,50 @@ public class ControlManager {
|
||||
mContext.sendBroadcast(intent);
|
||||
}
|
||||
|
||||
private void setAppstoreAdmin(SystemSettings settings) {
|
||||
int setting_admin_app = settings.getSetting_admin_app();
|
||||
Settings.System.putInt(mResolver, "setting_admin_app", setting_admin_app);
|
||||
}
|
||||
|
||||
private void setSetting(SystemSettings settings) {
|
||||
int setting_volume = settings.getSetting_volume();
|
||||
int setting_luminance = settings.getSetting_luminance();
|
||||
String setting_typeface = settings.getSetting_typeface();
|
||||
}
|
||||
|
||||
private void setScreenShared(SystemSettings settings) {
|
||||
int projection_screen = settings.getProjection_screen();
|
||||
setScreenShared(projection_screen);
|
||||
}
|
||||
|
||||
private void setScreenShared(int state) {
|
||||
Settings.System.putInt(mResolver, "projection_screen", state);
|
||||
}
|
||||
|
||||
private void setHotPoint(SystemSettings settings) {
|
||||
int hot_point = settings.getHot_point();
|
||||
setScreenShared(hot_point);
|
||||
}
|
||||
|
||||
private void setHotPoint(int state) {
|
||||
Settings.System.putInt(mResolver, "hot_point", state);
|
||||
}
|
||||
|
||||
private void setDefaultApp(SystemSettings settings) {
|
||||
String desktop_app = settings.getDesktop_app();
|
||||
String browser_app = settings.getBrowser_app();
|
||||
String typewriting_app = settings.getTypewriting_app();
|
||||
}
|
||||
|
||||
private void setIsControl(SystemSettings settings) {
|
||||
int is_control = settings.getIs_control();
|
||||
setIsControl(is_control);
|
||||
}
|
||||
|
||||
private void setIsControl(int state) {
|
||||
Settings.System.putInt(mResolver, "is_control", state);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user