forked from Blendman974/faceclaw
Convert remaining Java to Kotlin
This commit is contained in:
1 parent
ea9bfae6af
commit
f9724ddcab
118 files changed
+18381
-18119
No files matched your search
+11
-6
@@ -34,12 +34,17 @@ explicitly; iOS also cleans up abandoned native allocations. GATT write modes
|
||||
are mapped by platform adapters.
|
||||
|
||||
`migrated-java-sources.json` lists each removed Java source and its Kotlin
|
||||
replacement. Android's build removes precisely those stale generated copies
|
||||
before compilation. `android-java-boundaries.json` inventories every retained
|
||||
Java file and its Android API boundary: services/receivers, GATT, media,
|
||||
WebView, SQLite, rendering, networking and JNI. The sherpa-onnx Java classes
|
||||
remain the vendored Android JNI ABI. PNG/GIF adapters retain only Android
|
||||
storage responsibilities; their codecs are shared.
|
||||
replacement (paths relative to the repository root). Android's build removes
|
||||
precisely those stale generated copies before compilation. The Android-only
|
||||
classes (services/receivers, GATT, media, WebView, SQLite, rendering,
|
||||
networking, JNI engines) are Kotlin in
|
||||
`App_Resources/Android/src/main/java/com/faceclaw/app/`, compiled by
|
||||
NativeScript's own `kotlin-android` plugin rather than this KMP module; they keep
|
||||
their Java-era JVM API (`@JvmStatic`/`@JvmField`/`const val`) so TypeScript and
|
||||
the manifest are unchanged. `android-java-boundaries.json` inventories the Java
|
||||
that remains: the sherpa-onnx classes, which are the vendored Android JNI ABI.
|
||||
PNG/GIF adapters retain only Android storage responsibilities; their codecs are
|
||||
shared.
|
||||
|
||||
On `ios-port`, platform adapters route the existing TypeScript session and UI
|
||||
logic through shared Kotlin for protocol builders, CRC/framing/reassembly,
|
||||
|
||||
Reference in new issue
Block a user