new cleaner approach of not whacking services seems to aprox work

This commit is contained in:
geeksville 2020-04-20 07:46:06 -07:00
parent dabda9d29e
commit 62a64dd782
5 changed files with 21 additions and 10 deletions

View file

@ -118,7 +118,7 @@ class MainActivity : AppCompatActivity(), Logging,
bluetoothManager.adapter
}
private val model: UIViewModel by viewModels()
val model: UIViewModel by viewModels()
data class TabInfo(val text: String, val icon: Int, val content: Fragment)
@ -176,7 +176,7 @@ class MainActivity : AppCompatActivity(), Logging,
Manifest.permission.BLUETOOTH,
Manifest.permission.BLUETOOTH_ADMIN,
Manifest.permission.WAKE_LOCK
// We only need this for logging to capture files for the simulator - turn off for most users
// Manifest.permission.WRITE_EXTERNAL_STORAGE
)