From 0fd8faf8061369296b4a92b081d83c940dfc233e Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期二, 06 一月 2026 18:24:36 +0800
Subject: [PATCH] 2026年01月06日18:24:23 暂隐藏前台服务
---
app/src/main/java/com/hdl/photovoltaic/uni/CSplashView.java | 27 ++++++++++++++-------------
1 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/app/src/main/java/com/hdl/photovoltaic/uni/CSplashView.java b/app/src/main/java/com/hdl/photovoltaic/uni/CSplashView.java
index 3e7b535..91b7f55 100755
--- a/app/src/main/java/com/hdl/photovoltaic/uni/CSplashView.java
+++ b/app/src/main/java/com/hdl/photovoltaic/uni/CSplashView.java
@@ -37,20 +37,21 @@
//璁剧疆瀵艰埅鏉¤儗鏅鑹�
Activity activity = (Activity) context;
activity.getWindow().setNavigationBarColor(HDLApp.getInstance().getColor(R.color.text_FF1C1C1E));
- try {
-// if (!UserConfigManage.getInstance().isBAccount()) {
- if (!ServiceUtils.isServiceRunning(context, MyForegroundService.class)) {
- // 鍚姩鍓嶅彴鏈嶅姟
- Intent serviceIntent = new Intent(context, MyForegroundService.class);
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
- context.startForegroundService(serviceIntent);
- } else {
- context.startService(serviceIntent);
- }
- }
+ // 2026骞�01鏈�06鏃�18:12:25 鍥犱笂鏋跺埌璋锋瓕琚嫆锛屽洜涓婃灦绱ф�ワ紝鏆傛椂鍏堝彇娑堝墠鍙版湇鍔★紝寰呬慨澶嶅悗鍐嶆仮澶嶏紱
+// try {
+//// if (!UserConfigManage.getInstance().isBAccount()) {
+// if (!ServiceUtils.isServiceRunning(context, MyForegroundService.class)) {
+// // 鍚姩鍓嶅彴鏈嶅姟
+// Intent serviceIntent = new Intent(context, MyForegroundService.class);
+// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+// context.startForegroundService(serviceIntent);
+// } else {
+// context.startService(serviceIntent);
+// }
// }
- } catch (Exception e) {
- }
+//// }
+// } catch (Exception e) {
+// }
return splashView;
}
--
Gitblit v1.8.0