From: snicker Date: Tue, 3 Oct 2023 13:45:16 +0000 (+0800) Subject: release ICLoopPageLauncher_V65_202310032142_release.apk X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=771debbf06c364ac8b47b550188171bd6ce39c8c;p=iclooplauncher.git release ICLoopPageLauncher_V65_202310032142_release.apk 1、修复ide 3.6.1 上编译问题 2、添加 persist.sys.hidemainicon = true 隐藏主页面图标能力 --- diff --git a/app/release/ICLoopPageLauncher_V65_202310032142_release.apk b/app/release/ICLoopPageLauncher_V65_202310032142_release.apk new file mode 100644 index 0000000..024f02a Binary files /dev/null and b/app/release/ICLoopPageLauncher_V65_202310032142_release.apk differ diff --git a/app/release/output.json b/app/release/output.json new file mode 100644 index 0000000..92fc882 --- /dev/null +++ b/app/release/output.json @@ -0,0 +1 @@ +[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"ICLoopPageLauncher_V65_202310032142_release.apk","fullName":"release","baseName":"release"},"path":"ICLoopPageLauncher_V65_202310032142_release.apk","properties":{}}] \ No newline at end of file diff --git a/app/src/main/java/com/ic/launcher/view/MainPageView.java b/app/src/main/java/com/ic/launcher/view/MainPageView.java index 6b607d6..0b541b1 100644 --- a/app/src/main/java/com/ic/launcher/view/MainPageView.java +++ b/app/src/main/java/com/ic/launcher/view/MainPageView.java @@ -12,6 +12,7 @@ import androidx.annotation.Nullable; import com.ic.iclooger.ICLogger; import com.ic.launcher.R; import com.ic.launcher.presenter.MainPagePresenter; +import com.ic.launcher.utils.SystemUtils; public class MainPageView extends LinearLayout { @@ -34,9 +35,17 @@ public class MainPageView extends LinearLayout { public MainPageView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); - LayoutInflater.from(getContext()).inflate( - R.layout.item_main_page, this - ); + if(SystemUtils.getSystemProperties("persist.sys.hidemainicon").equals("true")) + { + LayoutInflater.from(getContext()).inflate( + R.layout.item_main_page_c5, this + ); + }else{ + LayoutInflater.from(getContext()).inflate( + R.layout.item_main_page, this + ); + } + initView(); initViewModel(); } diff --git a/app/src/main/res/layout/item_main_page_c5.xml b/app/src/main/res/layout/item_main_page_c5.xml index 9283ee8..7ca7b74 100644 --- a/app/src/main/res/layout/item_main_page_c5.xml +++ b/app/src/main/res/layout/item_main_page_c5.xml @@ -46,8 +46,8 @@