2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-05 00:25:09 +00:00

Fixed NPE if playerList was received null (which was due to a bug).

Maybe np.has(key) should return false if the key is set but null?
This commit is contained in:
Albert Vaca
2016-06-26 17:07:57 +02:00
parent 1edcbd2b39
commit 2d1dbd124c
2 changed files with 3 additions and 3 deletions

View File

@@ -571,6 +571,7 @@ public class Device implements BaseLink.PackageReceiver {
} catch (Exception e) {
e.printStackTrace();
Log.e("KDE/Device", "Exception in " + plugin.getPluginKey() + "'s onPackageReceived()");
//try { Log.e("KDE/Device", "NetworkPackage:" + np.serialize()); } catch (Exception _) { }
}
}
} else {