From: TrillGates Date: Wed, 27 Oct 2021 12:54:27 +0000 (+0800) Subject: 添加全屏显示不 X-Git-Url: http://git.snicker.com.cn/Users/apple/Desktop/static/gitweb.css?a=commitdiff_plain;h=e6c1c5220cf0304f40ddf0e56437e043724551dd;p=IcBlood.git 添加全屏显示不 --- diff --git a/app/release/ICL02Blood_V99_202109231144_release.apk b/app/release/ICL02Blood_V100_202110261827_release.apk similarity index 54% rename from app/release/ICL02Blood_V99_202109231144_release.apk rename to app/release/ICL02Blood_V100_202110261827_release.apk index 4d4dbd7..150682d 100644 Binary files a/app/release/ICL02Blood_V99_202109231144_release.apk and b/app/release/ICL02Blood_V100_202110261827_release.apk differ diff --git a/app/release/output.json b/app/release/output.json index f4e30e4..20f5778 100644 --- a/app/release/output.json +++ b/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":99,"versionName":"202109231144","enabled":true,"outputFile":"ICL02Blood_V99_202109231144_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V99_202109231144_release.apk","properties":{}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":100,"versionName":"202110261827","enabled":true,"outputFile":"ICL02Blood_V100_202110261827_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V100_202110261827_release.apk","properties":{}}] \ No newline at end of file diff --git a/app/src/main/java/com/ic/blood/presenter/BloodPresenter.java b/app/src/main/java/com/ic/blood/presenter/BloodPresenter.java index ab6781a..d484372 100644 --- a/app/src/main/java/com/ic/blood/presenter/BloodPresenter.java +++ b/app/src/main/java/com/ic/blood/presenter/BloodPresenter.java @@ -13,7 +13,6 @@ import android.os.Handler; import android.os.IBinder; import android.os.Looper; import android.os.Message; -import android.widget.TextView; import android.widget.Toast; import androidx.annotation.NonNull; @@ -166,6 +165,7 @@ public class BloodPresenter { try { Intent intent = new Intent(); intent.setAction(ACTION_HEART_RATE); + intent.setPackage("com.ic.work"); mContext.bindService(intent, connection, Context.BIND_AUTO_CREATE); } catch (Exception e) { e.printStackTrace(); @@ -337,10 +337,10 @@ public class BloodPresenter { Toast.makeText(mContext, mContext.getString(R.string.background_test), Toast.LENGTH_SHORT).show(); break; case WAITING_TASK_TYPE: - AlertDialog alertDialog = showDialog(); - alertDialog.show(); - TextView contentText = alertDialog.findViewById(android.R.id.message); - contentText.setTextSize(22.0f); +// AlertDialog alertDialog = showDialog(); +// alertDialog.show(); +// TextView contentText = alertDialog.findViewById(android.R.id.message); +// contentText.setTextSize(22.0f); break; } } diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 488f5ef..c4aa541 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -4,6 +4,7 @@