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

3790 Commits

Author SHA1 Message Date
Albert Vaca Cintora
c32e00bb47
Fix plugin list not recomposing 2024-10-08 22:37:46 +02:00
Albert Vaca Cintora
ba98e21d40
Make every pending intent immutable except the one for the widget
The widget runs as part of the launcher (so, a different app) which needs
to modify the intent to tell us what command the user selected.
2024-10-08 22:18:58 +02:00
Luca Carlon
551b089d9a Do not use FLAG_MUTABLE when targeting Android >= 34
BUG: 494158
2024-10-08 15:48:23 +00:00
l10n daemon script
b9e9d66fa5 GIT_SILENT made messages (after extraction) 2024-10-08 01:48:18 +00:00
l10n daemon script
107611f8d2 GIT_SILENT made messages (after extraction) 2024-10-07 01:46:54 +00:00
l10n daemon script
d0fc68054f GIT_SILENT Sync po/docbooks with svn 2024-10-06 02:20:27 +00:00
l10n daemon script
9f15d4b3aa GIT_SILENT made messages (after extraction) 2024-10-06 01:48:36 +00:00
TPJ Schikhof
a149100d74 Add unit tests for TelephonyHelper 2024-10-05 05:55:22 +00:00
l10n daemon script
7332b355a4 GIT_SILENT made messages (after extraction) 2024-10-05 01:48:12 +00:00
ShellWen Chen
9cc8051d00 refactor(remotekeyboard): simplify checkRequiredPermissions using streams
This commit simplifies the `checkRequiredPermissions` method in the `RemoteKeyboardPlugin` by using Java
 streams.

The previous implementation used a for loop to iterate over the list of enabled input methods and check if the package name matched the current context. This has been replaced with a more concise stream-based approach using `anyMatch`.
2024-10-04 02:42:19 +00:00
ShellWen Chen
78050a158a refactor(remotekeyboard): use package name from context instead of hard-coded 2024-10-04 02:42:19 +00:00
TPJ Schikhof
a5057df1c8 Migrate EntryItem to Kotlin 2024-10-04 02:40:42 +00:00
TPJ Schikhof
b856bdbb0b Migrate LifecycleHelper to Kotlin 2024-10-03 03:14:21 +00:00
TPJ Schikhof
8cb9a1809d Migrate SettingsFragment to Kotlin 2024-10-03 03:07:41 +00:00
Albert Vaca Cintora
0ffd9cd9dc
Release 1.32.5 v1.32.5 2024-10-02 08:03:10 +02:00
Albert Vaca Cintora
725b3f1d6a
Release 1.32.5 for the Play Store 2024-10-02 07:57:32 +02:00
Albert Vaca Cintora
63d1d15c4f
Fix crash on Android 14+
ENABLED_INPUT_METHODS can't be read anymore
2024-10-02 07:56:35 +02:00
TPJ Schikhof
592b8a74a7 Unit testing for the SslHelper methods
(excluding methods involving RsaHelper)
2024-10-02 04:47:48 +00:00
Luca Carlon
38e713f489 Fix access to the Downloads directory on Android 10
On Android 10 the share files feature fails when the default
directory is selected. When selecting a custom directory, the
permission is explicitly asked to the user, which makes the
feature work. When the location is switched back to the default
location, the feature is again broken.

The requestLegacyExternalStorage flag brings back the old
behavior and allows to write in the directory. It should be however
ignored for Android >= 11 according to the docs:

https://developer.android.com/training/data-storage/use-cases#opt-out-in-production-app

From Android 11, the Downlods directory should not need specific permissions.
2024-10-02 04:41:39 +00:00
TPJ Schikhof
bb8649d869 Refactor storage helper and added unit tests 2024-10-02 04:26:23 +00:00
Philip Cohn-Cort
2e82673bbf Regenerate Gradle wrapper files 2024-10-02 03:52:19 +00:00
TPJ Schikhof
7ee33de646 Migrate BackgroundService to Kotlin 2024-10-02 03:51:59 +00:00
Albert Vaca Cintora
65a71696d5
Release 1.32.4 for Play Store without EXTERNAL STORAGE permission 2024-09-28 18:30:40 +02:00
Albert Vaca Cintora
e2aa79a252
Release 1.32.3 v1.32.3 2024-09-28 18:26:16 +02:00
Albert Vaca Cintora
1ffcaf076e
Bump deps 2024-09-28 18:21:06 +02:00
TPJ Schikhof
854b2a1c9f Migrate PluginFactory to Kotlin 2024-09-28 04:59:56 +00:00
l10n daemon script
8fb545d620 GIT_SILENT made messages (after extraction) 2024-09-27 01:53:54 +00:00
Marko Zajc
db615b82df Fix trusted networks
## Summary
1) Fix the code responsible for loading the trusted network list.
2) The old `#_#` delimiter has been replaced with a less likely NUL character. This requires re-adding trusted networks, so I can revert it if necessary.
3) Ignore incoming identity packets on untrusted devices if they come from an untrusted device.

BUG: 492302

## Test Plan

### Before:
1) Trusted networks were completely broken, an would show variations of `#` and `_` on the list due to a bug in the splitting code.
2) Any network with `#_#` in the SSID - although unlikely - would not be possible to use as a trusted network.
3) The device was still discoverable on an untrusted network by manually refreshing the devices list.

### After:
1) Trusted networks now load the SSID list correctly.
2) Networks with `#_#` in the SSID can be added as trusted networks.
3) The device is no longer discoverable on an untrusted network.
2024-09-21 22:24:46 +00:00
TPJ Schikhof
ee7d4a1f05 Migrate FindRemoteDevicePlugin to Kotlin 2024-09-16 10:24:04 +00:00
TPJ Schikhof
409ef6b579 Migrate PingPlugin to Kotlin 2024-09-16 10:20:43 +00:00
TPJ Schikhof
2c0a9d262e Migrate MockSharedPreference to Kotlin 2024-09-16 10:18:16 +00:00
TPJ Schikhof
2f10f1d0f2 Migrate NsdResolveQueue to Kotlin 2024-09-15 08:07:31 +00:00
l10n daemon script
9f788da478 GIT_SILENT made messages (after extraction) 2024-09-12 01:45:57 +00:00
TPJ Schikhof
ec952b49d9 Migrate LoopbackBackend to Kotlin 2024-09-10 21:22:59 +00:00
TPJ Schikhof
45da75f331 Migrate BackgroundJob(Handler) to Kotlin 2024-09-10 08:35:09 +00:00
Albert Vaca Cintora
283956c107
Bump targetSdk from 33 to 35 2024-09-08 14:35:36 +02:00
l10n daemon script
d605977b91 GIT_SILENT Sync po/docbooks with svn 2024-09-06 02:42:47 +00:00
Albert Vaca Cintora
80cf238354
Add changelog v1.32.2 2024-09-03 12:10:28 +02:00
Albert Vaca Cintora
8ee135b018
Release 1.32.2 2024-09-03 12:05:55 +02:00
Albert Vaca Cintora
2343dbf144
Release 1.32.2 for Play Store without EXTERNAL STORAGE permission 2024-09-03 12:04:38 +02:00
Albert Vaca Cintora
3f53180b1d
Unify the check for NativeFileSystem support 2024-09-03 12:03:03 +02:00
Albert Vaca Cintora
0f7af315f5
Bump deps 2024-09-03 12:03:03 +02:00
TPJ Schikhof
7ebac70d47 Migrate DeviceTest to Kotlin 2024-09-02 10:29:16 +00:00
TPJ Schikhof
9037647281 Migrate SafeTextCheckerTest to Kotlin 2024-09-02 10:27:24 +00:00
l10n daemon script
9373587268 GIT_SILENT made messages (after extraction) 2024-09-02 01:46:49 +00:00
TPJ Schikhof
0771415d8f Migrate RsaHelper to Kotlin 2024-08-31 17:38:59 +00:00
TPJ Schikhof
fb0e2cc01d Migrate files helper to Kotlin + add unit tests 2024-08-30 18:02:12 +00:00
TPJ Schikhof
584fb78bb7 Relieve getStorageList() out of it's misery since it's not being used anymore
I was about to migrate this to Kotlin but reasoned it would save some work to remove this first since it's not being used anyway.
2024-08-30 14:29:17 +00:00
l10n daemon script
ae12e3e6fc GIT_SILENT Sync po/docbooks with svn 2024-08-29 02:19:17 +00:00
l10n daemon script
8be80cae3e GIT_SILENT made messages (after extraction) 2024-08-29 01:47:24 +00:00