fergot whati changed

This commit is contained in:
Joren 2024-05-02 16:49:32 +02:00
parent 9f3955cdba
commit e3229cb4c8
Signed by untrusted user who does not match committer: Joren
GPG Key ID: 280E33DFBC0F1B55
2 changed files with 31 additions and 1 deletions

View File

@ -4,6 +4,36 @@
<value>
<entry key="MainActivity">
<State>
<multipleDevicesSelectedInDropDown value="true" />
<runningDeviceTargetsSelectedWithDialog>
<Target>
<type value="RUNNING_DEVICE_TARGET" />
<deviceKey>
<Key>
<type value="SERIAL_NUMBER" />
<value value="4d16b842" />
</Key>
</deviceKey>
</Target>
<Target>
<type value="RUNNING_DEVICE_TARGET" />
<deviceKey>
<Key>
<type value="VIRTUAL_DEVICE_PATH" />
<value value="$USER_HOME$/.android/avd/Pixel_3a_API_34_extension_level_7_x86_64.avd" />
</Key>
</deviceKey>
</Target>
<Target>
<type value="RUNNING_DEVICE_TARGET" />
<deviceKey>
<Key>
<type value="SERIAL_NUMBER" />
<value value="NE1GAM4811005818" />
</Key>
</deviceKey>
</Target>
</runningDeviceTargetsSelectedWithDialog>
<targetsSelectedWithDialog>
<Target>
<type value="QUICK_BOOT_TARGET" />

View File

@ -339,11 +339,11 @@ class GoodSoftware (private val activity: MainActivity) {
e.printStackTrace()
}
}
fun disconnect(connectionResult: ConnectionResult) {
val (socket, reader, writer, _, _, _) = connectionResult
try {
writer.println("END_OF_COMMUNICATION")
println("Disconnect")
writer.close()
reader.close()
socket.close()