shared/ carried the vendored phone app's tree behind a 30-entry
exclude list. Deleted the 46 phone-only files (recording service,
widgets, Room DB, Nextcloud/local-only/folder-sync providers, TOFU
trust, Android settings stores, phone UI screens) and kept only the
seven the desktop compiles: CustomShonarProvider, ProviderTypes,
ShonarProvider, ShonarAuthStore, ShonarHandshake, ProviderRegistry,
AiContent. ProviderRegistry reduces to its id constant; handshake
drops the TOFU param; provider defaults self-identify as desktop.
Gradle exclude list gone — srcDir('../shared') is pure desktop now.
11 lines
398 B
Kotlin
11 lines
398 B
Kotlin
package com.shonar.provider
|
|
|
|
/**
|
|
* Provider ids. The desktop app talks to exactly one service — the local
|
|
* SHONAR engine — so this is just the id constant its RemoteRefs carry.
|
|
* (The phone's multi-provider registry — Nextcloud, local folder, sync
|
|
* folder — was removed; the app is standalone desktop.)
|
|
*/
|
|
object ProviderRegistry {
|
|
const val CUSTOM_SHONAR_ID = "custom-shonar"
|
|
}
|