From 70367f1e07139295efd815f8f8afc6743dd30837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=AB=E9=A3=8E=E5=90=B9=E8=BF=87=E7=9A=84=E5=A4=8F?= =?UTF-8?q?=E5=A4=A9?= Date: Tue, 22 Aug 2023 17:16:00 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=AB=98=E5=BE=B7?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E5=86=85=E5=AD=98=E6=B3=84=E9=9C=B2=E9=97=AE?= =?UTF-8?q?=E9=A2=98;=20=E7=99=BE=E5=BA=A6=E5=9C=B0=E5=9B=BE=E5=90=8C?= =?UTF-8?q?=E9=AB=98=E5=BE=B7=E5=9C=B0=E5=9B=BE=E5=9C=A8MapApplier?= =?UTF-8?q?=E4=B8=AD=E7=A7=BB=E9=99=A4=E5=AF=B9MapView=E7=9A=84=E5=BC=95?= =?UTF-8?q?=E7=94=A8;=20=E5=8D=87=E7=BA=A7Compose=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=92=8CJDK=E7=89=88=E6=9C=AC;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/android.yml | 4 +- .idea/.name | 1 - .idea/gradle.xml | 1 + baidu-map-compose/build.gradle | 13 ++-- .../com/melody/map/baidu_compose/BDMap.kt | 15 +++-- .../melody/map/baidu_compose/MapApplier.kt | 5 +- .../melody/map/baidu_compose/MapUpdater.kt | 3 +- .../adapter/ComposeInfoWindowAdapter.kt | 60 +++++++++---------- build.gradle | 2 +- gd-map-compose/build.gradle | 13 ++-- .../java/com/melody/map/gd_compose/GDMap.kt | 15 ++--- .../com/melody/map/gd_compose/MapApplier.kt | 6 +- .../adapter/ComposeInfoWindowAdapter.kt | 55 ++++++++--------- gradle_map.properties | 2 +- sample-baidu/build.gradle | 15 ++--- sample-common/build.gradle | 17 +++--- sample-gaode/build.gradle | 16 ++--- sample-google/build.gradle | 15 ++--- sample-huawei/build.gradle | 11 ++-- sample-tencent/build.gradle | 16 ++--- sample-ui-components/build.gradle | 7 ++- tencent-map-compose/build.gradle | 13 ++-- .../com/melody/map/tencent_compose/TXMap.kt | 10 ++-- 23 files changed, 159 insertions(+), 156 deletions(-) delete mode 100644 .idea/.name diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index a38c367..e810ac2 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -52,7 +52,9 @@ jobs: artifactErrorsFailBuild: true body: | ### 功能更新 - - 处理MapView内存泄露问题,onDispose不可靠,Lifecycle.Event.ON_DESTROY中也要做地图销毁处理 + - 处理高德地图内存泄露问题 + - 百度地图同高德地图在MapApplier中移除对MapView的引用 + - 升级Compose版本和JDK版本 token: ${{ secrets.github_token }} commit: master # tag名称 diff --git a/.idea/.name b/.idea/.name deleted file mode 100644 index ca648d5..0000000 --- a/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -OmniMap \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 31e055c..0b39407 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ +