wifi aware wip

This commit is contained in:
callebtc
2025-10-21 22:24:55 +02:00
parent 9535ca8940
commit f4341ae1c1
11 changed files with 1490 additions and 2 deletions
@@ -38,6 +38,12 @@ class BitchatApplication : Application() {
// Initialize debug preference manager (persists debug toggles)
try { com.bitchat.android.ui.debug.DebugPreferenceManager.init(this) } catch (_: Exception) { }
// Initialize WiFi Aware controller with persisted default
try {
val enabled = com.bitchat.android.ui.debug.DebugPreferenceManager.getWifiAwareEnabled(false)
com.bitchat.android.wifiaware.WifiAwareController.initialize(this, enabled)
} catch (_: Exception) { }
// TorManager already initialized above
}
}