fix: fence voice turns and playback; add opt-in face context

This commit is contained in:
zenord
2026-10-11 20:50:11 +08:00
parent 885bb3f2db
commit 9b428fb76f
46 changed files with 2306 additions and 32 deletions
+11
View File
@@ -0,0 +1,11 @@
package org.json
// Serialization-only JVM double; actual Android JSONObject API compiled in normal build.
class JSONObject() {
constructor(text: String) : this() { error("Parser is outside this double's scope") }
private val fields = linkedMapOf<String, Any>()
fun put(key: String, value: Any): JSONObject { fields[key] = value; return this }
fun opt(key: String): Any? = fields[key]
override fun toString(): String = fields.entries.joinToString(",", "{", "}") { (key, value) ->
"\"$key\":" + if (value is String) "\"$value\"" else value.toString()
}
}