From c622b7e435ba94e260972ce7fdfb0effc5cc4c0b Mon Sep 17 00:00:00 2001 From: lvlisong Date: Thu, 23 Jan 2025 22:28:30 +0800 Subject: [PATCH] GIT COMMIT MESSAGE: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除无障碍服务并重构广告处理 - 重构广告管理,删除过时的无障碍功能,以简化应用程序。 - 引入新库并更新依赖以改善功能和兼容性。 - 增强展示插页广告的UI组件,并简化主活动结构。 --- .idea/inspectionProfiles/Project_Default.xml | 27 +++ app/build.gradle.kts | 1 + app/src/main/AndroidManifest.xml | 14 -- .../io/sixminutes/breakingnews/GAIDHelper.kt | 75 ------- .../breakingnews/InterstitialActivity.kt | 74 +++---- .../breakingnews/InterstitialAdManager.kt | 24 +++ .../sixminutes/breakingnews/MainActivity.kt | 202 +++++++----------- .../breakingnews/MyAccessibiltyService.kt | 102 --------- .../res/xml/accessibility_service_config.xml | 8 - gradle/libs.versions.toml | 2 + 10 files changed, 160 insertions(+), 369 deletions(-) delete mode 100644 app/src/main/java/io/sixminutes/breakingnews/GAIDHelper.kt create mode 100644 app/src/main/java/io/sixminutes/breakingnews/InterstitialAdManager.kt delete mode 100644 app/src/main/java/io/sixminutes/breakingnews/MyAccessibiltyService.kt delete mode 100644 app/src/main/res/xml/accessibility_service_config.xml diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 44ca2d9..6195b36 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,6 +1,30 @@