kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
about to fix parcelables
rodzic
10ad07e136
commit
a3198d3931
|
@ -77,6 +77,7 @@
|
|||
<activity
|
||||
android:name="com.geeksville.mesh.MainActivity"
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@style/AppTheme.NoActionBar">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
|
|
@ -193,12 +193,10 @@ class MainActivity : AppCompatActivity(), Logging {
|
|||
val m = IMeshService.Stub.asInterface(service)
|
||||
meshService = m
|
||||
|
||||
// FIXME - do actions for when we connect to the service
|
||||
// FIXME - do actions for when we connect to the service
|
||||
debug("did connect")
|
||||
|
||||
UIState.isConnected.value = m.isConnected
|
||||
|
||||
debug("connected to mesh service, isConnected=${UIState.isConnected.value}")
|
||||
|
||||
// make some placeholder nodeinfos
|
||||
UIState.nodes.value =
|
||||
m.online.toList().map {
|
||||
|
|
Ładowanie…
Reference in New Issue