version:3.3

fix:修复几个闪退问题,升级后清除桌面数据
update:时钟,摄像头允许打开,日历app允许显示
This commit is contained in:
2022-03-07 18:07:18 +08:00
parent 3ef0e56a08
commit 8d9fd57152
7 changed files with 31 additions and 14 deletions

View File

@@ -630,8 +630,8 @@ public class HTTPInterface {
@Override
public void onNext(@NonNull BaseResponse baseResponse) {
Log.e("getAppLimit", "onNext: " + baseResponse);
JsonObject jsonObject = JsonParser.parseString(new Gson().toJson(baseResponse.data)).getAsJsonObject();
if (baseResponse.code == 200) {
JsonObject jsonObject = JsonParser.parseString(new Gson().toJson(baseResponse.data)).getAsJsonObject();
String data = jsonObject.get("result").getAsString();
//开机图标 只记录后台传的包名
boolean write = Settings.System.putString(context.getContentResolver(), JGYActions.ACTION_JGY_SHORTCUTLIST, data);