Inject Android bridge into legacy platform services
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Modernization Debt Log
|
||||
|
||||
Status: live
|
||||
Last updated: 2026-06-16
|
||||
Last updated: 2026-06-17
|
||||
|
||||
Every shortcut, temporary adapter, retained vendored dependency, skipped
|
||||
platform gate, compatibility shim, or incomplete automation path must be
|
||||
@@ -18,6 +18,13 @@ agent or engineer to remove them without reconstructing context from chat.
|
||||
|
||||
## Reductions
|
||||
|
||||
- 2026-06-17: `DEBT-0016`/`DEBT-0017` were narrowed again.
|
||||
`src/platform_legacy/legacy_platform_services.*` now takes an explicit
|
||||
Android bridge through `create_platform_services(...)`, and
|
||||
`android/src/cpp/main.cpp` now seeds Android-owned clipboard, keyboard,
|
||||
JNI-thread attach/detach, async render-context, and file-picker callbacks
|
||||
into that adapter instead of leaving those JNI/EGL entrypoints declared
|
||||
directly inside the cross-platform fallback layer.
|
||||
- 2026-06-17: `DEBT-0017`/`DEBT-0050`/`DEBT-0053`/`DEBT-0057` were narrowed
|
||||
again. `src/platform_legacy/legacy_platform_services.*` now takes an
|
||||
explicit `WebPlatformServices*` dependency through
|
||||
|
||||
@@ -70,6 +70,15 @@ What is already real:
|
||||
- `pp_app_core`
|
||||
|
||||
Latest slice:
|
||||
- `src/platform_legacy/legacy_platform_services.*` now takes an explicit
|
||||
Android bridge through `create_platform_services(...)` instead of declaring
|
||||
Android JNI/EGL/clipboard/file-picker hooks directly inside the legacy
|
||||
adapter.
|
||||
- `android/src/cpp/main.cpp` now seeds that Android-owned bridge into its
|
||||
owned legacy `PlatformServices` instance.
|
||||
- The touched Android clipboard, keyboard visibility, JNI thread attach/detach,
|
||||
async render-context, and file-picker ownership now sit at the Android
|
||||
entrypoint instead of the cross-platform fallback adapter body.
|
||||
- `src/platform_legacy/legacy_platform_services.*` now takes an explicit
|
||||
`WebPlatformServices*` dependency through `create_platform_services(...)`
|
||||
instead of routing WebGL publish/flush/default-canvas/save-prepared-file
|
||||
|
||||
@@ -78,6 +78,15 @@ Completed, blocked, and superseded task history moved to
|
||||
the queue is now ordered by code movement instead.
|
||||
|
||||
Current slice:
|
||||
- `src/platform_legacy/legacy_platform_services.*` now takes an explicit
|
||||
Android bridge through `create_platform_services(...)` instead of declaring
|
||||
Android JNI/EGL/clipboard/file-picker hooks directly inside the legacy
|
||||
adapter.
|
||||
- `android/src/cpp/main.cpp` now seeds that Android-owned bridge into its
|
||||
owned legacy `PlatformServices` instance.
|
||||
- The touched Android clipboard, keyboard visibility, JNI thread attach/detach,
|
||||
async render-context, and file-picker ownership now sit at the Android
|
||||
entrypoint instead of the cross-platform fallback adapter body.
|
||||
- `src/platform_legacy/legacy_platform_services.*` now takes an explicit
|
||||
`WebPlatformServices*` dependency through `create_platform_services(...)`
|
||||
instead of routing WebGL publish/flush/default-canvas/save-prepared-file
|
||||
|
||||
Reference in New Issue
Block a user