From c0a15189766e557a3a6e7d5bad06eae23152b098 Mon Sep 17 00:00:00 2001
From: Guo_shaoshan <2055829622@qq.com>
Date: 星期二, 28 三月 2023 21:23:56 +0800
Subject: [PATCH] 拉取代码

---
 app_base/src/main/java/com/android/app_base/base/view/BaseActivity.java |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/app_base/src/main/java/com/android/app_base/base/view/BaseActivity.java b/app_base/src/main/java/com/android/app_base/base/view/BaseActivity.java
index 2fb56c9..0c3c199 100644
--- a/app_base/src/main/java/com/android/app_base/base/view/BaseActivity.java
+++ b/app_base/src/main/java/com/android/app_base/base/view/BaseActivity.java
@@ -19,8 +19,11 @@
 import androidx.lifecycle.ViewModelProvider;
 
 import com.android.app_base.action.TitleBarAction;
+import com.android.app_base.base.BaseApplication;
 import com.android.app_base.base.viewmodel.BaseViewModel;
 import com.android.app_base.base.StateViewEnum;
+import com.android.app_base.utils.ScreenSizeUtils;
+import com.blankj.utilcode.util.AdaptScreenUtils;
 import com.gyf.immersionbar.ImmersionBar;
 import com.hjq.bar.OnTitleBarListener;
 import com.hjq.bar.TitleBar;
@@ -64,6 +67,8 @@
         initData();
         //椤甸潰浜嬩欢鐩戝惉鐨勬柟娉曪紝鐢ㄤ簬ViewModel灞傝浆鍒癡iew灞傜殑浜嬩欢娉ㄥ唽
         initLiveDataObserve();
+
+        ScreenSizeUtils.setCustomDensity(this, BaseApplication.getInstance());
     }
 
     @Override
@@ -231,12 +236,6 @@
             mTitleBar = obtainTitleBar(findViewById(Window.ID_ANDROID_CONTENT));
         }
         return mTitleBar;
-    }
-
-    @Override
-    public void onLeftClick(TitleBar titleBar) {
-        TitleBarAction.super.onLeftClick(titleBar);
-        onBackPressed();
     }
 
     /**

--
Gitblit v1.9.1