Skip to content

Use the core reapplyStyle() for raster layers - #9

Merged
wf9a5m75 merged 1 commit into
developfrom
fix/reapply-style-under-lock
Oct 29, 2026
Merged

wf9a5m75 merged 1 commit into
developfrom
fix/reapply-style-under-lock

Conversation

@wf9a5m75

Copy link
Copy Markdown
Contributor

MapConductor/android-sdk-core#17 に依存します。そちらを先にマージしてください。

MapplsRasterLayerController.reapplyStyle() を消し、android-sdk-core の基底クラスの reapplyStyle() を使います。こちらはロックの中で動き、entity の登録もし直しません。呼び出し側(スタイルの読み込み後の rasterLayerController.reapplyStyle())は変わりません。

不具合と修正の詳細は android-sdk-core#17 にあります。いまの renderer は中断しないので、実際には起きていません。先に塞いでおくための修正です。

  • api/android-for-mappls.api から reapplyStyle() が消えた(基底クラスから継承)

確認

  • android-sdk-core#17 と合わせて :android-for-mappls:compileDebugKotlin と :android-for-mappls:apiCheck が通る
  • 実機・エミュレータでは確かめていない

MapplsRasterLayerController.reapplyStyle() read the manager outside the
controller lock and registered what it read again. Drop it and use the one in
android-sdk-core's RasterLayerController (MapConductor/android-sdk-core#17),
which runs under the lock.
@wf9a5m75
wf9a5m75 merged commit b0dc193 into develop Oct 29, 2026
2 checks passed
@wf9a5m75
wf9a5m75 deleted the fix/reapply-style-under-lock branch October 29, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant