mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-02 07:05:09 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
5e37ffe7cd | ||
|
5907517d91 | ||
|
63d452908f |
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.kde.kdeconnect_tp"
|
package="org.kde.kdeconnect_tp"
|
||||||
android:versionCode="11340"
|
android:versionCode="11350"
|
||||||
android:versionName="1.13.4">
|
android:versionName="1.13.5">
|
||||||
|
|
||||||
<supports-screens
|
<supports-screens
|
||||||
android:anyDensity="true"
|
android:anyDensity="true"
|
||||||
|
@@ -534,10 +534,12 @@ public class Device implements BaseLink.PacketReceiver {
|
|||||||
Log.i("KDE/Device", "removeLink: " + link.getLinkProvider().getName() + " -> " + getName() + " active links: " + links.size());
|
Log.i("KDE/Device", "removeLink: " + link.getLinkProvider().getName() + " -> " + getName() + " active links: " + links.size());
|
||||||
if (links.isEmpty()) {
|
if (links.isEmpty()) {
|
||||||
reloadPluginsFromSettings();
|
reloadPluginsFromSettings();
|
||||||
|
if (packetQueue != null) {
|
||||||
packetQueue.disconnected();
|
packetQueue.disconnected();
|
||||||
packetQueue = null;
|
packetQueue = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPacketReceived(NetworkPacket np) {
|
public void onPacketReceived(NetworkPacket np) {
|
||||||
|
@@ -430,8 +430,8 @@ public class MprisMediaSession implements SharedPreferences.OnSharedPreferenceCh
|
|||||||
playbackActions |= PlaybackStateCompat.ACTION_SKIP_TO_NEXT;
|
playbackActions |= PlaybackStateCompat.ACTION_SKIP_TO_NEXT;
|
||||||
++numActions;
|
++numActions;
|
||||||
}
|
}
|
||||||
// Documentation says that this was added in Lollipop (21) but we had crashes on Marshmallow (23)
|
// Documentation says that this was added in Lollipop (21) but it seems to cause crashes on < Pie (28)
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||||
if (notificationPlayer.isSeekAllowed()) {
|
if (notificationPlayer.isSeekAllowed()) {
|
||||||
playbackActions |= PlaybackStateCompat.ACTION_SEEK_TO;
|
playbackActions |= PlaybackStateCompat.ACTION_SEEK_TO;
|
||||||
++numActions;
|
++numActions;
|
||||||
|
Reference in New Issue
Block a user