From 2225b1f0727fb74e10ac5692e68e4cd48f4f62d7 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期一, 03 三月 2025 15:02:14 +0800 Subject: [PATCH] 2025年03月03日15:02:11 --- app/src/main/java/com/hdl/photovoltaic/uni/BSplashView.java | 23 ++++------------------- 1 files changed, 4 insertions(+), 19 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/uni/BSplashView.java b/app/src/main/java/com/hdl/photovoltaic/uni/BSplashView.java index b14c39f..87fc38d 100755 --- a/app/src/main/java/com/hdl/photovoltaic/uni/BSplashView.java +++ b/app/src/main/java/com/hdl/photovoltaic/uni/BSplashView.java @@ -31,25 +31,9 @@ LayoutInflater inflater = LayoutInflater.from(context); // 閫氳繃inflate鏂规硶灏嗗竷灞�鏂囦欢杞崲涓篤iew瀵硅薄 splashView = inflater.inflate(R.layout.activity_b_splash, null); - try { - //璁剧疆瀵艰埅鏉¤儗鏅鑹� - if (UserConfigManage.getInstance().getUniBottomSafeDistanceBackgroundColor() == 0) { - Activity activity = (Activity) context; - activity.getWindow().setNavigationBarColor(HDLApp.getInstance().getColor(R.color.text_FF1C1C1E)); - } else if (UserConfigManage.getInstance().getUniBottomSafeDistanceBackgroundColor() == 1) { - Activity activity = (Activity) context; - activity.getWindow().setNavigationBarColor(HDLApp.getInstance().getColor(R.color.text_FF000000)); - - } else if (UserConfigManage.getInstance().getUniBottomSafeDistanceBackgroundColor() == 2) { - Activity activity = (Activity) context; - activity.getWindow().setNavigationBarColor(HDLApp.getInstance().getColor(R.color.text_FF000000)); - } - } catch (Exception ignored) { - } - - - - + //璁剧疆瀵艰埅鏉¤儗鏅鑹� + Activity activity = (Activity) context; + activity.getWindow().setNavigationBarColor(HDLApp.getInstance().getColor(R.color.text_FF000000)); //鍙兘閫氳繃杩欑鏂瑰紡璋冪敤 Intent intent = new Intent(); intent.setPackage("com.hdl.photovoltaic"); @@ -62,6 +46,7 @@ static ServiceConnection stringservice = new ServiceConnection() { private WeakReference<Context> contextWeakReference; + @Override public void onServiceConnected(ComponentName componentName, IBinder iBinder) { IUniappAidlInterface iUniappAidlInterface = IUniappAidlInterface.Stub.asInterface(iBinder); -- Gitblit v1.8.0