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> <value>
<entry key="MainActivity"> <entry key="MainActivity">
<State> <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> <targetsSelectedWithDialog>
<Target> <Target>
<type value="QUICK_BOOT_TARGET" /> <type value="QUICK_BOOT_TARGET" />

View File

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