Disable MouseReceiver Plugin so we don't need accessibility API

Google doesn't like it :( Hopefully we can re-add it back soon.
This commit is contained in:
Albert Vaca Cintora
2023-04-22 22:44:49 +02:00
parent 2616a7a529
commit 32d6a346ab
2 changed files with 3 additions and 1 deletions

View File

@@ -365,6 +365,7 @@
<action android:name="android.service.chooser.ChooserTargetService" /> <action android:name="android.service.chooser.ChooserTargetService" />
</intent-filter> </intent-filter>
</service> </service>
<!--
<service <service
android:name="org.kde.kdeconnect.Plugins.MouseReceiverPlugin.MouseReceiverService" android:name="org.kde.kdeconnect.Plugins.MouseReceiverPlugin.MouseReceiverService"
android:exported="true" android:exported="true"
@@ -376,6 +377,7 @@
android:name="android.accessibilityservice" android:name="android.accessibilityservice"
android:resource="@xml/mouse_receiver_service" /> android:resource="@xml/mouse_receiver_service" />
</service> </service>
-->
<activity <activity
android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationFilterActivity" android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationFilterActivity"

View File

@@ -21,7 +21,7 @@ import org.kde.kdeconnect.UserInterface.MainActivity;
import org.kde.kdeconnect.UserInterface.StartActivityAlertDialogFragment; import org.kde.kdeconnect.UserInterface.StartActivityAlertDialogFragment;
import org.kde.kdeconnect_tp.R; import org.kde.kdeconnect_tp.R;
@PluginFactory.LoadablePlugin //@PluginFactory.LoadablePlugin
@RequiresApi(api = Build.VERSION_CODES.N) @RequiresApi(api = Build.VERSION_CODES.N)
public class MouseReceiverPlugin extends Plugin { public class MouseReceiverPlugin extends Plugin {
private final static String PACKET_TYPE_MOUSEPAD_REQUEST = "kdeconnect.mousepad.request"; private final static String PACKET_TYPE_MOUSEPAD_REQUEST = "kdeconnect.mousepad.request";