mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 21:55:10 +00:00
Only open file if open is actually true
This commit is contained in:
@@ -189,7 +189,7 @@ public class CompositeReceiveFileJob extends BackgroundJob<Device, Void> {
|
||||
numFiles = totalNumFiles;
|
||||
}
|
||||
|
||||
if (numFiles == 1 && currentNetworkPacket.has("open")) {
|
||||
if (numFiles == 1 && currentNetworkPacket.getBoolean("open", false)) {
|
||||
receiveNotification.cancel();
|
||||
openFile(fileDocument);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user