2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-29 05:07:40 +00:00

1535 Commits

Author SHA1 Message Date
Karl Heinz
d4d9e8ba6d Update DeviceHelper.java 2018-04-16 16:55:31 +02:00
Matthijs Tijink
2cd7d4b7a9 Fix default Find My Phone ringtone
Summary:
Previously, if the user hadn't set a ringtone, the code raised an exception (because an empty string isn't an uri). Thus, no sound was played.

This fixes it.

BUG: 392853

Test Plan: Without having set a ringtone, it works. Otherwise, it works too.

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: nicolasfella, sredman, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D12070
2018-04-09 19:00:55 +02:00
l10n daemon script
8bbd3f55b1 GIT_SILENT made messages (after extraction) 2018-04-09 03:23:13 +02:00
Albert Vaca
1bf96454cf required is not part of the uses-permission tag
BUG: 392856
2018-04-08 17:20:48 +02:00
l10n daemon script
6883ed2847 GIT_SILENT made messages (after extraction) 2018-04-07 03:23:18 +02:00
l10n daemon script
91be51ea5a GIT_SILENT made messages (after extraction) 2018-04-06 03:31:04 +02:00
l10n daemon script
3bb54816ed GIT_SILENT made messages (after extraction) 2018-04-04 03:26:25 +02:00
l10n daemon script
810f53449a GIT_SILENT made messages (after extraction) 2018-04-03 03:28:03 +02:00
l10n daemon script
efa4668448 GIT_SILENT made messages (after extraction) 2018-04-01 03:29:58 +02:00
l10n daemon script
b70370005b GIT_SILENT made messages (after extraction) 2018-03-31 03:22:14 +02:00
l10n daemon script
9631cacb69 GIT_SILENT made messages (after extraction) 2018-03-30 03:25:50 +02:00
Matthijs Tijink
94ef1294c5 Add share action button to received file notification
Summary: You can share the just-received file. It doesn't work with a custom download directory (just like opening such files doesn't work yet). It also won't close the notification once shared.

Test Plan: Sharing to other apps works.

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: nicolasfella, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D11680
2018-03-28 22:58:27 +02:00
Matthijs Tijink
7c8301a7cc Disables album art download on metered connections (e.g. 4G)
Summary: Won't typically be a problem (you're usually connected via wifi with KDE Connect anyway), but shouldn't hurt.

Test Plan: Works with the bluetooth backend on 4G (i.e. no album art is downloaded). Still downloads album art otherwise, as expected.

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: #kde_connect

Differential Revision: https://phabricator.kde.org/D11682
2018-03-27 21:23:08 +02:00
Albert Vaca
64fd08f3ac Bump version to release v1.8.2 2018-03-27 20:34:56 +02:00
Albert Vaca
e67e43efa1 Revert "Synchronize everything to see if this fixes a crash in 8.1"
This reverts commit cf808c03ba4cd6d9149e2ae133c88b1335dceafe.
and commit 3d4bf643d4dad4220a90d020772d20942aed3358.
2018-03-27 20:34:56 +02:00
Philip Cohn-Cort
fda08929af Add method documentation to LanLinkProvider.java
Summary:
This adds some simple explanation to the `identityPacketReceived` and
`addLink` methods.

Test Plan: N/A

Reviewers: #kde_connect, mtijink

Reviewed By: #kde_connect, mtijink

Differential Revision: https://phabricator.kde.org/D11672
2018-03-26 13:54:04 +02:00
Albert Vaca
2cb025e368 Bump version to release 2018-03-25 22:01:06 +02:00
Albert Vaca
cf808c03ba Add timeout so handshake doesn't block forever 2018-03-25 22:00:39 +02:00
Albert Vaca
2b52cd1547 Bumped version to release 2018-03-25 20:42:52 +02:00
Albert Vaca
3d4bf643d4 Synchronize everything to see if this fixes a crash in 8.1 2018-03-25 20:33:19 +02:00
Matthijs Tijink
00b6677aa4 When receiving a file Android, show the image in the notification
Summary: The image is shown, similar to when you take a screenshot.

Test Plan: Works great! Doesn't crash for non-images.

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: #kde_connect

Differential Revision: https://phabricator.kde.org/D11679
2018-03-25 14:51:12 +02:00
Matthijs Tijink
bf0cab9ef2 Support file url album art - Android
Summary: If the album art is a file url, the code will ask the remote device to transfer that file. It's then stored in the album art cache.

Test Plan: Works fine for me, even when quickly skipping songs.

Reviewers: #kde_connect, nicolasfella, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, nicolasfella, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D11018
2018-03-25 13:41:40 +02:00
Matthijs Tijink
1c3e6f84a7 Add album art to media notification and lock screen
Summary:
Adds the album art to the media notification and lock screen.

How it looks on my phone (disregard the somewhat weird look, that's just the weird UI my phone vendor uses):
{F5728066}

Google images shows how it'll look on other phones (this one includes the lock screen image):
{F5728069}

And Android Oreo automatically colors the notification based on the album art color (untested, but should work):
{F5728070}

Test Plan: Changes are minor and it works fine for me.

Reviewers: #kde_connect, nicolasfella, albertvaka

Reviewed By: #kde_connect, nicolasfella, albertvaka

Subscribers: nicolasfella

Differential Revision: https://phabricator.kde.org/D10798
2018-03-25 13:39:17 +02:00
Matthijs Tijink
c8dbbb1fe8 Show connected devices on top
Summary: After that, available devices and then remembered devices.

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: nicolasfella, #kde_connect

Differential Revision: https://phabricator.kde.org/D11641
2018-03-24 21:55:53 +01:00
Philip Cohn-Cort
a17b75264d Use simpler syntax for Google Maven repository
Summary: This follows the guidelines described at https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html#apply_plugin

Test Plan: Try to build with this change (`./gradlew assembleRelease` or similar)

Reviewers: #kde_connect, mtijink

Reviewed By: #kde_connect, mtijink

Differential Revision: https://phabricator.kde.org/D11645
2018-03-24 20:23:11 +01:00
Philip Cohn-Cort
7276e60aa4 Only make one request for list of MPRIS players during plugin creation
Summary:
MPrisPlugin previously made two calls to `requestPlayerList()` in its
`onCreate()` method. This change deletes the first of those, so that
only one network packet is sent and received.

Test Plan:
Pair a new device, confirm that only one request for media players is
received by remote client.

Reviewers: #kde_connect, mtijink

Reviewed By: #kde_connect, mtijink

Differential Revision: https://phabricator.kde.org/D11648
2018-03-24 18:38:23 +01:00
Matthijs Tijink
7877d2803c Fix blurry rasterized icons
Summary:
The vector icons were rastizered for older Android versions, but these were on the small side. This fixes the size.

BUG: 392061

Test Plan: The icons aren't blurry anymore on Android 4.2.

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: #kde_connect

Differential Revision: https://phabricator.kde.org/D11644
2018-03-24 18:35:07 +01:00
Matthijs Tijink
b1c4b6e1e9 Show the same mpris player in the notification as in the app
Summary:
So switching (currently playing) players in the app will also switch the
notification.

Test Plan: Tested with two players playing at the same time, and switching between them.

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: #kde_connect

Differential Revision: https://phabricator.kde.org/D11647
2018-03-24 18:34:35 +01:00
Matthijs Tijink
eb801fa535 Don't show flash of pairing buttons when opening a device
Summary:
The buttons are now hidden, and only showed once we know that the device
is unpaired.

Test Plan: Pairing, pairing request and opening a device still work.

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: #kde_connect

Differential Revision: https://phabricator.kde.org/D11627
2018-03-24 11:07:46 +01:00
Nicolas Fella
ac4aaf1b39 Make MPRIS Activity singletop 2018-03-23 22:20:13 +01:00
Matthijs Tijink
9840a39992 Always show/hide both next and previous buttons
Summary: As @kossebau mentioned, a disappearing "previous" button is not really great, since you'll likely press "next". This diff makes sure that when you can press previous and/or next, both buttons are shown (potentially disabled).

Test Plan: Works in all combinations of enabled/disabled for both buttons

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: kossebau, #kde_connect

Differential Revision: https://phabricator.kde.org/D11437
2018-03-23 19:18:41 +01:00
l10n daemon script
e73c18d2e3 GIT_SILENT made messages (after extraction) 2018-03-17 03:13:39 +01:00
Albert Vaca
dbdbb0496b Bump version to release v1.8 2018-03-15 23:51:30 +01:00
Albert Vaca
5a0b5673ed Do not send the group summary notifications
Reviewed by Aleix Pol
2018-03-15 23:47:35 +01:00
Albert Vaca
2962ebf61f Don't hide media controls in lock screen 2018-03-15 23:17:48 +01:00
Albert Vaca
d0e1175f4a Remove unecessary allocations in a loop
Plus database not being closed on return
2018-03-15 20:26:55 +01:00
l10n daemon script
41ce204a12 GIT_SILENT made messages (after extraction) 2018-03-15 03:17:50 +01:00
l10n daemon script
20a9e69d1d GIT_SILENT made messages (after extraction) 2018-03-12 03:13:38 +01:00
l10n daemon script
28af7672da GIT_SILENT made messages (after extraction) 2018-03-11 03:15:01 +01:00
l10n daemon script
014bfacd89 GIT_SILENT made messages (after extraction) 2018-03-09 03:13:42 +01:00
l10n daemon script
2d21d9e868 GIT_SILENT made messages (after extraction) 2018-03-07 03:20:21 +01:00
l10n daemon script
cec8d9de3f GIT_SILENT made messages (after extraction) 2018-03-06 03:17:05 +01:00
Albert Vaca
9b70e1e61f Rename NetworkPackage -> NetworkPacket
Summary: KDE Connect, now with correct naming!

Test Plan: It still builds.

Reviewers: #kde_connect, apol, nicolasfella

Reviewed By: #kde_connect, apol, nicolasfella

Subscribers: nicolasfella, apol

Differential Revision: https://phabricator.kde.org/D11035
2018-03-05 20:07:29 +01:00
Nicolas Fella
fbeb5523b4 Use sp instead of dp for text size
Reviewers: #kde_connect, mtijink

Reviewed By: #kde_connect, mtijink

Subscribers: #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D11016
2018-03-04 14:40:16 +01:00
Nicolas Fella
ae0538ae0c Make it possible to add commands for the RunCommandsPlugin from Android
Summary: Add an ActionBar entry for adding a command to the list. The current way to add commands is quite hidden.

Reviewers: #kde_connect, mtijink

Reviewed By: #kde_connect, mtijink

Subscribers: philipc, mtijink, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D7959
2018-03-04 14:38:20 +01:00
Nicolas Fella
f615a0f7f9 Clean up TelepathyPlugin
Summary:
Depends on D10907

Remove permission checks, unused imports, empty methode
Inline permissionexplanation

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D10908
2018-03-04 13:22:06 +01:00
Nicolas Fella
679b163bd5 Clean up CustomDevicesActivity
Summary: Won't have a practical impact, but Lint is happy

Test Plan: Add entries to ip list

Reviewers: #kde_connect, mtijink

Reviewed By: #kde_connect, mtijink

Subscribers: mtijink, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D10949
2018-03-04 13:20:03 +01:00
Nicolas Fella
fb7dc4be65 Use correct plural
Summary: Some languages have more plurals than the english language. This enables translaters to select the appropriate plural form.

Test Plan: No change in english

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D11001
2018-03-04 13:18:59 +01:00
Nicolas Fella
22e65626cc Fix accessibility issues
Summary: Add some image contentDescriptions and one focusable property

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D11004
2018-03-04 13:18:21 +01:00
Nicolas Fella
961f8e0308 Delete unused file
Test Plan: Android Studios Safe delete did not find any usage

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D11005
2018-03-04 13:17:51 +01:00