2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00

3180 Commits

Author SHA1 Message Date
Dmitry Yudin
c22453afca Add gyro switch and mouse buttons 2023-04-08 21:27:44 +00:00
l10n daemon script
81fe7adba5 GIT_SILENT Sync po/docbooks with svn 2023-04-07 01:49:05 +00:00
l10n daemon script
d4ba5d7375 GIT_SILENT made messages (after extraction) 2023-04-07 00:46:51 +00:00
l10n daemon script
129be45564 GIT_SILENT made messages (after extraction) 2023-04-06 00:47:06 +00:00
Krut Patel
642dce1168 Set android:exported to true for activities with intent filters
Required so that other apps can launch these activities.
2023-04-05 17:49:28 +00:00
Albert Vaca Cintora
b64b27bcae Release 1.24.0 v1.24.0 2023-04-05 19:04:41 +02:00
Albert Vaca Cintora
98ffff5844 Revert "Switch desugaring lib to desugar_jdk_libs_nio"
This reverts commit 7efb1f81b5d2cf988a2450b95edc3517b52e51b5.

For some weird reason, mina-sshd works fine without desugaring NIO on
Android 5 but fails with `java.lang.NoClassDefFoundError: Failed resolution
of: Ljava/nio/channels/AsynchronousChannelGroup;` before reverting this
2023-04-05 18:56:01 +02:00
Albert Vaca Cintora
711065a8e6 Refactor share function to handle null URIs
BUG: 458278
2023-04-05 10:16:23 +00:00
Albert Vaca Cintora
5250fde0b1 Remove copyright and app description from About 2023-04-04 22:49:05 +00:00
Albert Vaca Cintora
f9ea5f0e77 Send preexisting notifications as silent
This avoids creating a popup for every existing notification after the
device connects.
2023-04-04 22:44:44 +00:00
Albert Vaca Cintora
a26e5fbb9c Add note so people add themselves to the author list 2023-04-05 00:38:02 +02:00
Isira Seneviratne
7efb1f81b5 Switch desugaring lib to desugar_jdk_libs_nio
Enables desugaring of the `Files` class, which is otherwise only available on API 26+.
2023-04-04 22:27:56 +00:00
Isira Seneviratne
d4378ffe3e Remove multidex library. 2023-04-04 22:21:00 +00:00
l10n daemon script
76f5005219 GIT_SILENT made messages (after extraction) 2023-04-04 00:46:47 +00:00
l10n daemon script
53638577f9 GIT_SILENT made messages (after extraction) 2023-04-03 00:45:41 +00:00
l10n daemon script
e5f221f891 GIT_SILENT made messages (after extraction) 2023-04-02 00:47:00 +00:00
Dmitry Yudin
ef902348bb More Material3 styling
Apply Material3 to dialogs, image buttons, switches and preferences.
Merge the landscape and portrait layouts for the MPRIS controls.
Move setting theme to application start instead of applying to every activity.
2023-04-01 21:33:03 +00:00
Albert Vaca Cintora
a1d7e822e7 Don't show any message if battery information is not available
BUG: 447498
2023-04-01 19:18:38 +00:00
Albert Vaca Cintora
4b775cff88 Prettier RunCommand widget & add preview
Co-authored-by: Maxim Leshchenko <cnmaks90@gmail.com>
2023-04-01 21:14:14 +02:00
l10n daemon script
3d2667a803 GIT_SILENT made messages (after extraction) 2023-04-01 00:50:50 +00:00
Albert Vaca Cintora
5dd9b48f74 Remove redundant check for permissions 2023-03-31 21:08:59 +02:00
l10n daemon script
1d794dae6a GIT_SILENT made messages (after extraction) 2023-03-31 00:46:49 +00:00
Dmitry Yudin
0ed11d2036 Show enabled plugins as cards 2023-03-29 18:22:27 +00:00
Albert Vaca Cintora
aef5af30ed Also in FindMyPhone activity 2023-03-29 20:07:58 +02:00
Albert Vaca Cintora
85d5b9e08f Use AppCompatButton to avoid the round borders of M3 buttons
Which are quite ugly when the buttons are very big.
2023-03-29 20:04:41 +02:00
Albert Vaca Cintora
a0e963c893 Revert "Use AppCompatButton to avoid the round borders of M3 buttons"
This reverts commit ca71ddef34741063aa06e11a5f06a733903898a1.
2023-03-29 20:04:05 +02:00
Albert Vaca Cintora
ca71ddef34 Use AppCompatButton to avoid the round borders of M3 buttons
Which are quite ugly when the buttons are very big.
2023-03-29 19:43:15 +02:00
Manuel Jesús de la Fuente
6defead2ce Use M3 theme, switch to Material Dialogs
- Add Monet dynamic colors on the app's `onCreate()`
- Set parent in styles.xml to `Theme.Material3.DayNight.NoActionBar`
- Use `MaterialAlertDialogBuilder`
- In the About and About KDE fragments, it uses the M3 elevated style instead of outlines
- In `edit_text_alert_dialog_view.xml`, it uses the default theme style instead of specifying the one from MaterialComponents
- Added a todo in the settings fragment: Preference dialogs don't yet use the M3 style.

It complements https://invent.kde.org/network/kdeconnect-android/-/merge_requests/273, though the way that merge request accomplishes color theming is the one from before the onCreate dynamics color method
2023-03-29 17:39:25 +00:00
Albert Vaca Cintora
fd3c6f07da Changes from code review
Fix potential race condition and lower log level
2023-03-29 17:09:21 +00:00
Albert Vaca Cintora
aff2de8ebb Fix UUID containing characters that can't be dbus-exported
This broke pairing with the desktop app
2023-03-29 17:09:21 +00:00
Albert Vaca Cintora
cbc0749997 Do not use the ANDROID_ID as device ID
Since Android 8, this ID is stable across reinstalls of the app. This
causes other devices that already were paired with us to find a cert
mismatch and refuse to communicate with us after a reinstall or data wipe.
2023-03-29 17:09:21 +00:00
Albert Vaca Cintora
554769e1ef Fix plugins without permissions showing a generic explanation
This was because we only overrote the explanation in onCreate, which wasn't
called for plugins without permissions.
2023-03-29 19:01:57 +02:00
Albert Vaca Cintora
63718d5a58 Flip isIncompatible -> isCompatible 2023-03-29 18:51:32 +02:00
Albert Vaca Cintora
7670810155 Code review fixes 2023-03-29 16:32:40 +00:00
Albert Vaca Cintora
66a649313c Consolidate network listeners in BackgroundService
* Remove usage of deprecated WiFi ConnectivityManager
* Only listen for non-cellular network changes (where we can find devices)
* Do not listen for network changes also from PairingFragment
2023-03-29 16:32:40 +00:00
l10n daemon script
855ad36642 GIT_SILENT Sync po/docbooks with svn 2023-03-29 01:55:19 +00:00
l10n daemon script
0d1e358067 GIT_SILENT made messages (after extraction) 2023-03-29 00:47:12 +00:00
l10n daemon script
9b662776e8 GIT_SILENT Sync po/docbooks with svn 2023-03-28 02:17:52 +00:00
Jakub Wiśnia
6adb73bf5e Add separate sensitivity for gyroscope in plugin MousePad 2023-03-28 00:01:50 +02:00
Mhammad Alloush
e60c134d78 MousePadPlugin: Add gyro mouse
## Summary

This MR adds gyro mouse capability, which allows you to move the cursor of a connected device by simply moving the connected phone. It uses standard Android gyroscope sensors. Mainly aimed at usage with computers attached to very large screens (e.g. TV's), as using the touchpad as-is can feel somewhat unnatural.

While it does attempt pretty much the same thing as !285, this MR attempts to reduce redundancy as much as possible by simply extending the existing MousePadPlugin instead.

Tested on a Xiaomi Redmi Note 11, on a Samsung A71, and on a laptop running Arch Linux and KDE Plasma 5.27.3

## Test Plan

1. Make sure the 'Remote Input' plugin is enabled on the Android device.
2. Make sure the 'Virtual Input' plugin is enabled on the target device.
3. Open Plugin Settings -> Remote Input for the target device.
2. Enable the toggle for Gyro mouse.
3. Exit settings and go to the Remote Input activity for the target device.
4. Try moving the device around in 3D space.
5. Confirm that the mouse pointer moves predictably.
2023-03-27 20:58:48 +00:00
l10n daemon script
092b207aec GIT_SILENT Sync po/docbooks with svn 2023-03-27 02:40:27 +00:00
l10n daemon script
425011fadc GIT_SILENT made messages (after extraction) 2023-03-27 00:49:00 +00:00
l10n daemon script
738f60d671 GIT_SILENT made messages (after extraction) 2023-03-26 00:47:53 +00:00
Albert Vaca Cintora
118e045990 Replace Handlers by lightweight callbacks 2023-03-25 23:46:41 +00:00
Mihir Patel
b8cbd2b382 Adding support for per-app language preferences on Android 13 and later
Android 13 added the ability to select languages on a per-app basis. Supporting this feature simply requires us to provide a listing of all of the locales supported by the app: https://developer.android.com/guide/topics/resources/app-languages

This change adds a locales_config.xml file to list the locales and references this file in the application manifest
2023-03-25 19:25:39 +00:00
l10n daemon script
eb301341a5 GIT_SILENT made messages (after extraction) 2023-03-23 00:46:51 +00:00
Albert Vaca Cintora
58cbd49278 Use ConcurrentHashMap to fix ConcurrentModificationException 2023-03-22 20:12:27 +01:00
Albert Vaca Cintora
7bf2a40180 Rename updateComputerList -> updateDeviceList 2023-03-22 18:17:31 +01:00
l10n daemon script
e2a35fb97f GIT_SILENT made messages (after extraction) 2023-03-22 00:47:34 +00:00
l10n daemon script
a524fb8486 GIT_SILENT made messages (after extraction) 2023-03-21 00:47:36 +00:00