2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 14:15:14 +00:00

Compare commits

..

652 Commits

Author SHA1 Message Date
Albert Vaca
23648a03e5 Bumped version to release 2017-05-16 21:05:17 +02:00
Simon Redman
3f188b5526 Add support for sending and receiving multipart SMSes
Summary:
The SMS protocol does not support sending a message longer than 160 characters. Android's SmsManager.sendTextMessage(..) fails to send in case the message is too long.
Instead of failing, check the message length. If it is longer than 160 characters, break it up and send it as several messages

On receive, collect the list of messages, then combine their bodies

Test Plan:
Send a long message via KDE Connect and verify that it is actually sent
Send a short message via KDE Connect and verify that it can also be sent
Ideally: Test sending a message which is the maximum length for an SMS (160 characters) and verify that it is sent as exactly one SMS (And billed properly)

Receive a long message and verify that it is delivered as a single long message, even though we all know that it was transmitted as a multi-part SMS
Receive a short message and verify that it is correctly delivered

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka

Differential Revision: https://phabricator.kde.org/D5848
2017-05-16 21:03:59 +02:00
Albert Vaca
2d35b04713 Fix IllegalStateException: Fragment not attached to Activity
BUG: 379873
2017-05-16 21:01:45 +02:00
Albert Vaca
9a5b03c423 Fixing crash, apparently info can be null (?) 2017-05-16 21:01:45 +02:00
l10n daemon script
ee336aa414 GIT_SILENT made messages (after extraction) 2017-05-15 05:02:35 +02:00
Albert Vaca
a81eba9ea1 Bumped version number to release 2017-05-06 14:29:24 +02:00
Nicholas Killewald
c5022358de Made getLocalIpAddress ignore rmnet-related interfaces.
Any interface with "rmnet" in it is an internal interface that has to do
with the device's cellular connection or USB tethering.  Since those
interfaces might give IPv4 addresses that are unreachable from any other
device, this change makes getLocalIpAddress ignore anything rmnet-related.

BUG: 337685
2017-05-06 14:26:55 +02:00
Albert Vaca
9d1734406b Bumped version number to release 2017-05-06 12:54:06 +02:00
Albert Vaca
2d49715891 Removed print 2017-05-06 12:47:51 +02:00
Albert Vaca
9e6a4938ed Added an extra check to be really sure we are on data. 2017-05-06 12:47:46 +02:00
Albert Vaca
cc4a196334 Make android version check lint happy 2017-05-06 12:46:52 +02:00
Albert Vaca
c39620e33c Update gradle plugin 2017-05-06 12:38:04 +02:00
Albert Vaca
0dd26e5729 Removed an if to check for access to "/" as it never helped 2017-05-06 12:19:36 +02:00
l10n daemon script
86d0d3065c GIT_SILENT made messages (after extraction) 2017-03-14 19:05:45 +01:00
l10n daemon script
1f8f39a7f8 GIT_SILENT made messages (after extraction) 2017-03-09 06:56:51 +01:00
l10n daemon script
05ba2188de GIT_SILENT made messages (after extraction) 2017-03-05 08:01:12 +01:00
l10n daemon script
ba440bd5ea GIT_SILENT made messages (after extraction) 2017-03-04 07:13:18 +01:00
l10n daemon script
a94e082b68 GIT_SILENT made messages (after extraction) 2017-03-01 06:45:54 +01:00
Albert Vaca
def0cad889 Further refining the network detection 2017-02-28 21:21:51 +01:00
Albert Vaca
c93e4400e2 Fix crash when fragment.getContext() was null 2017-02-25 21:42:34 +01:00
Albert Vaca
9580154a13 Bumped version to release 2017-02-25 21:32:28 +01:00
Albert Vaca
48f5566326 Try a different approach to detect when on mobile data. 2017-02-25 21:25:06 +01:00
Albert Vaca
3ea5d43b99 Revert "Do not broadcast in 3G + info message"
As it couldn't be any other way, this broke somebody's workflow.

This reverts commit 440a12f86c.
2017-02-25 21:06:40 +01:00
l10n daemon script
a172430c11 GIT_SILENT made messages (after extraction) 2017-02-23 07:12:52 +01:00
l10n daemon script
b4b7b58cb2 GIT_SILENT made messages (after extraction) 2017-02-21 13:33:16 +01:00
Albert Vaca
8d99de59fc Fix crash on Android < 12 2017-02-20 22:59:52 +01:00
Albert Vaca
337cdba68f Prepare beta release 2017-02-20 20:36:55 +01:00
Albert Vaca
b3e1f6fbf8 Preparing a hotfix release 2017-02-20 20:25:02 +01:00
Albert Vaca
ecad7ccea2 Try not to lose filename extensions.
Android's Storage Access Framework abstraction wants us to use mimetypes
instead of file extensions, but for some file types it can't guess a useful
mimetype. In those cases, provide the extension as part of the base name.

BUG: 376638
2017-02-20 20:20:54 +01:00
l10n daemon script
b7df5348c0 GIT_SILENT made messages (after extraction) 2017-02-20 06:44:38 +01:00
Albert Vaca
440a12f86c Do not broadcast in 3G + info message 2017-02-18 19:06:37 +01:00
Albert Vaca
0e3b5af6bc Looks like it's not 2017-02-18 17:41:12 +01:00
Albert Vaca
b167b9629e Changed visibilities to package-private 2017-02-18 17:16:10 +01:00
Albert Vaca
b6814c86c5 Bumped version to release 2017-02-14 22:23:33 +01:00
Dmitriy Bogdanov
3cc71a69a4 FindMyPhone: better activity lifecycle handling
Summary:
There are some minor problems with current implementation: if device configuration changes (screen orientation, etc.) while the "FindMyPhone" ringtone is playing, the activity gets recreated and starts to play a new ringtone again, but the first ringtone is not stopped.
Also if the user leaves the activity the ringtone continues to play, the user has no way to get back to the activity to stop it.

With these changes the ringtone starts playing when the activity becomes visible and stops when the activity is being hidden/destroyed. If the user leaves the activity (without destroying it) and then presses "Ring my phone" button again, the activity becomes visible again and starts to play the ringtone.

There are other ways to improve it that I did not touch: use a Service to play the ringtone (so not to depend on the activity's lifecycle) or handle configuration changes in activity (so it is not recreated on orientation changes).

Test Plan: Activate "Find My Phone" feature and try to turn phone or leave activity.

Reviewers: albertvaka

Reviewed By: albertvaka

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D4548
2017-02-14 22:12:38 +01:00
l10n daemon script
c0502803c4 GIT_SILENT made messages (after extraction) 2017-02-12 06:34:40 +01:00
l10n daemon script
ec6696b33b GIT_SILENT made messages (after extraction) 2017-02-11 06:59:47 +01:00
l10n daemon script
7e30e27f61 GIT_SILENT made messages (after extraction) 2017-02-10 06:30:56 +01:00
l10n daemon script
92a10bcd35 GIT_SILENT made messages (after extraction) 2017-02-08 06:21:40 +01:00
l10n daemon script
723f398ea8 GIT_SILENT made messages (after extraction) 2017-02-07 13:35:11 +01:00
l10n daemon script
060fa8200e GIT_SILENT made messages (after extraction) 2017-02-06 06:55:43 +01:00
Albert Vaca
7045c50c81 OPEN_DOCUMENT_TREE needs lollipop 2017-02-05 21:39:28 +01:00
Albert Vaca
fe0409e9e7 Bumped version to release in beta channel 2017-02-05 21:31:49 +01:00
Albert Vaca
4f39aa2b65 Disabled remote keyboard from stable branch
Se we can release from the stable branch without it until we release a
desktop version with this feature.
2017-02-05 21:31:34 +01:00
Albert Vaca
cba67c73a0 Fixed tests 2017-02-05 21:24:45 +01:00
Albert Vaca
2e5dc56366 Merge branch '1.x'
# Conflicts:
#	res/values-ast/strings.xml
#	res/values-gl/strings.xml
2017-02-05 21:23:13 +01:00
Albert Vaca
5ece4e21e7 Bumped android sdk version 2017-02-05 16:19:55 +01:00
Albert Vaca
be66fb23cf Stuff used from inner classes shouldn't be private. 2017-02-05 16:19:41 +01:00
Albert Vaca
a6bd803df8 Fixed NPE because frag.device was null
Why was this starting two RunCommand threads? Exec order is not guaranteed.
2017-02-05 15:42:03 +01:00
Albert Vaca
a5a4b360ae Fixed crash on unpairing 2017-02-05 15:34:16 +01:00
Albert Vaca
71e7218b4e Fixed java.lang.ClassCastException:
android.text.SpannableString cannot be cast to java.lang.String
2017-02-05 15:34:07 +01:00
Okoko Michaels
89ecdfc363 Accept or reject pair requests from the notification 2017-02-05 15:20:36 +01:00
l10n daemon script
1179807bcf GIT_SILENT made messages (after extraction) 2017-02-05 03:53:51 +01:00
l10n daemon script
4279ae824f GIT_SILENT made messages (after extraction) 2017-02-02 06:45:38 +01:00
l10n daemon script
753a6425ef GIT_SILENT made messages (after extraction) 2017-02-02 03:50:38 +01:00
l10n daemon script
08312e409d GIT_SILENT made messages (after extraction) 2017-01-31 08:49:33 +01:00
l10n daemon script
22526fdaa8 GIT_SILENT made messages (after extraction) 2017-01-30 03:47:18 +01:00
l10n daemon script
963b29ef6b GIT_SILENT made messages (after extraction) 2017-01-25 03:51:08 +01:00
Holger Kaelberer
ca9704eab2 Add remotekeyboard plugin
BUG: 370919
REVIEW: 129728
2017-01-23 09:07:18 +01:00
l10n daemon script
8d148aad92 GIT_SILENT made messages (after extraction) 2017-01-23 06:35:43 +01:00
l10n daemon script
1239944deb GIT_SILENT made messages (after extraction) 2017-01-23 03:43:48 +01:00
Albert Vaca
9e5e9b3047 Make package private 2017-01-22 06:08:07 +01:00
l10n daemon script
42f8289071 GIT_SILENT made messages (after extraction) 2017-01-15 04:03:15 +01:00
l10n daemon script
371ffefd20 GIT_SILENT made messages (after extraction) 2017-01-07 07:20:26 +01:00
l10n daemon script
614becd1a7 GIT_SILENT made messages (after extraction) 2017-01-07 03:41:41 +01:00
l10n daemon script
3c101210e2 GIT_SILENT made messages (after extraction) 2017-01-04 07:02:02 +01:00
l10n daemon script
52a4ac20ee GIT_SILENT made messages (after extraction) 2016-12-27 13:30:52 +01:00
l10n daemon script
42be344336 GIT_SILENT made messages (after extraction) 2016-12-26 06:42:43 +01:00
l10n daemon script
1811b93b0a GIT_SILENT made messages (after extraction) 2016-12-26 03:35:38 +01:00
Albert Vaca
6ed1bf6284 Fix crash when ringtone is null. 2016-12-25 16:57:32 +01:00
l10n daemon script
f1ca9a3c33 GIT_SILENT made messages (after extraction) 2016-12-22 06:40:55 +01:00
l10n daemon script
9d4bbbb629 GIT_SILENT made messages (after extraction) 2016-12-22 03:37:14 +01:00
l10n daemon script
60ff59bc34 GIT_SILENT made messages (after extraction) 2016-12-20 14:13:07 +01:00
l10n daemon script
059a3b2437 GIT_SILENT made messages (after extraction) 2016-12-20 08:31:20 +01:00
Albert Vaca
eeb19bd206 Allow sending more than one file from SendFileActivity 2016-12-19 09:19:40 +01:00
l10n daemon script
5e229085e9 GIT_SILENT made messages (after extraction) 2016-12-19 06:22:52 +01:00
l10n daemon script
a7c4bbd379 GIT_SILENT made messages (after extraction) 2016-12-18 06:17:35 +01:00
l10n daemon script
a38ffe34bd GIT_SILENT made messages (after extraction) 2016-12-18 03:44:15 +01:00
Albert Vaca
b5e6519efe Increased versio number to release 2016-12-17 15:33:09 +01:00
l10n daemon script
ad2b7678b9 GIT_SILENT made messages (after extraction) 2016-12-16 03:35:24 +01:00
l10n daemon script
9649efcdc4 GIT_SILENT made messages (after extraction) 2016-12-14 02:48:48 +01:00
l10n daemon script
99b7c4f312 GIT_SILENT made messages (after extraction) 2016-12-13 02:39:05 +01:00
l10n daemon script
c80820294c GIT_SILENT made messages (after extraction) 2016-12-12 02:34:13 +01:00
Albert Vaca
90856690fb Increased version number to release in the beta channel 2016-12-11 21:22:13 +01:00
Albert Vaca
1334dae342 Added a Share setting to add received files to the "Downloads" app
Only works for old-school (not-Storage Access Framework) paths, so we have
to keep track of the fact that we are using one or the other.

Also this requires the permission DOWNLOAD_WITHOUT_NOTIFICATION, but
hopefully the play store won't make users confirm this one.

This behaviour is enabled by default.
2016-12-11 21:03:39 +01:00
Albert Vaca
f8dd9bf923 Fixed crash if received file didn't have extension 2016-12-11 20:27:52 +01:00
Albert Vaca
72d8ba647a If transfer failed, don't create a pending intent nor index the file 2016-12-11 19:19:51 +01:00
Albert Vaca
b3449c87f7 Rewritten ShareSettingsActivity and de-duplicated SAF code in SharePlugin.
There was unused code and incorrect comments that were introduced in
commit e2e4086.
2016-12-11 18:57:21 +01:00
Albert Vaca
5c3b5a2737 Fixed comment as MayeulC suggested on IRC 2016-12-11 16:40:11 +01:00
Richard Wagler
e2e40863f8 Implement saving to SD card using SAF 2016-12-11 14:01:46 +01:00
Albert Vaca
036737deae Unused imports 2016-12-11 14:00:55 +01:00
Albert Vaca
8d7337b6b0 Refactored media scanner call into MediaStoreHelper 2016-12-11 13:59:52 +01:00
Albert Vaca
0a4459e8a0 Made Sftp server notify the Android MediaScanner of new/removed files
Plus refactored the code a bit to simplify logic
2016-12-11 13:59:00 +01:00
Albert Vaca
cef8cbd34a Android Studio update 2016-12-11 13:59:00 +01:00
l10n daemon script
3afb8ae8f3 GIT_SILENT made messages (after extraction) 2016-12-11 02:35:14 +01:00
l10n daemon script
85fce32bcb GIT_SILENT made messages (after extraction) 2016-12-10 02:32:33 +01:00
Albert Vaca
d52be109ee Revert "Add support to deal with album arts sent by mpris plugin."
This was very poorly implemented and can't stay as it is right now:
 - Every second or so the art image was being loaded from disk, scaled,
   base64 encoded and sent over the freakin network!
 - The Android interface didn't take into account small screens, and
   adding the image would cut stuff out of the screen.
 - Didn't manage "edge cases" like playing a song without cover after one
   with cover (previous image was still being shown) or changing players.

This reverts commit 24c404400f.

# Conflicts:
#	src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java
#	src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisPlugin.java
2016-12-08 23:47:17 +01:00
Albert Vaca
66794002f7 Updated version number to release in the beta channel/ 2016-12-08 20:53:40 +01:00
Albert Vaca
d61536ef76 Improved sharing files.
- Refactored the code to separate reading the file, sending it and
  updating the notification. This last part it's now done in a standalone
  sendPackage callback class.
- Added a non-async sendPacakge function to device, so we can properly
  wait for a file to finish before sending the next one without using
  recursive callbacks as before.
- Fixed bug that made it impossible to share more than one file from
  certain apps. This was caused because we can't access content resolvers
  any longer after closing the activity that was launched to "share" to.
  Now we do the content resolutions first and once for all files.
- When sending more than one file, do not spam one notification for each.
- There is no need to update the notifications from the UI thread, now
  we do it from a background thread instead.
2016-12-08 20:50:49 +01:00
Albert Vaca
1dad3c145d Make onProgressChanged updates time-based.
If used to update a notification, calling it too often would lag the UI
2016-12-08 20:50:49 +01:00
Albert Vaca
33f7a4809d Don't call onProgressChanged unless it actually changes 2016-12-08 20:50:49 +01:00
Albert Vaca
d81448ad34 Fixed LanLink always calling onProgressChanged with a progress of 0 2016-12-08 20:50:49 +01:00
Albert Vaca
ed4c0d24df Introduced NotificationHelper 2016-12-08 20:50:49 +01:00
Albert Vaca
fed9bb1eec Not an error 2016-12-08 20:50:49 +01:00
Albert Vaca
b7418c1db6 Socket should be volatile to prevent data-race
CCBUG: 368438
2016-12-08 20:50:49 +01:00
Albert Vaca
e6bc78f013 Some refactoring on sendpackage to reduce allocations of empty callbacks 2016-12-08 20:50:49 +01:00
Albert Vaca
22de200cbf Typo 2016-12-08 20:50:49 +01:00
Albert Vaca
22dde07892 Typo 2016-12-08 20:50:49 +01:00
Albert Vaca
f9bdfb9fbd Not actually an error 2016-12-08 20:50:49 +01:00
Albert Vaca
9d6476a27e Moved the code around to split it in big blocks and add some comments 2016-12-08 20:50:49 +01:00
Albert Vaca
29a8db9c45 On error show an error message, not a success message :) 2016-12-08 20:50:49 +01:00
l10n daemon script
6e1f8e1496 SVN_SILENT made messages (after extraction) 2016-11-29 03:03:55 +01:00
Albert Vaca
82b15292fb Merge branch '1.x' 2016-11-28 14:48:39 +01:00
Albert Vaca
32f9f3b76a Update gradle plugin to make Android Studio happy 2016-11-28 14:48:22 +01:00
Albert Vaca
fc25e42196 Remove FindMyPhoneActivity from the application switcher,
because returning to it would make it to ring again.
2016-11-23 18:34:31 +01:00
l10n daemon script
db3422268f SVN_SILENT made messages (after extraction) 2016-11-05 07:16:39 +00:00
l10n daemon script
71bef30624 SVN_SILENT made messages (after extraction) 2016-10-28 10:31:23 +00:00
l10n daemon script
15e0188538 SVN_SILENT made messages (after extraction) 2016-10-28 06:56:05 +00:00
l10n daemon script
8bc8a47e9d SVN_SILENT made messages (after extraction) 2016-10-17 10:38:49 +00:00
l10n daemon script
ad7769edde SVN_SILENT made messages (after extraction) 2016-10-17 06:58:14 +00:00
l10n daemon script
a2c51a16ee SVN_SILENT made messages (after extraction) 2016-10-14 10:45:01 +00:00
l10n daemon script
788555b69c SVN_SILENT made messages (after extraction) 2016-10-14 07:05:25 +00:00
l10n daemon script
ccdeb3d806 SVN_SILENT made messages (after extraction) 2016-10-07 07:02:29 +00:00
l10n daemon script
00a5ad3c1f SVN_SILENT made messages (after extraction) 2016-09-30 10:42:37 +00:00
Albert Vaca
b35ce0f821 Do not clear values if the player didn't actually change 2016-09-29 14:15:31 +02:00
Albert Vaca
77e38da2d9 Fixed spotify hacks and moved them to a single function in the code 2016-09-29 14:14:55 +02:00
Albert Vaca
8fb942ccdf Nothing changes in this function, no need to update the list. 2016-09-29 13:21:31 +02:00
Albert Vaca
74dc1bcd63 Reduced logging. Renamed variables in camelcase. 2016-09-29 13:21:13 +02:00
Albert Vaca
0f655cf4eb Added a check to see if the dialog is already open.
If tapping fast, two dialogs could be opened. Opening it twice caused the
second dialog to segfault on tapping yes.
2016-09-29 13:20:43 +02:00
Albert Vaca
0de86785f8 Merge branch 'master' into 1.x
# Conflicts:
#	res/values-da/strings.xml
2016-09-29 13:01:25 +02:00
Thomas Posch
5320c3c226 Make commands sorted by name
BUG: 369239
2016-09-29 12:57:22 +02:00
l10n daemon script
7234b34db7 SVN_SILENT made messages (after extraction) 2016-09-28 10:26:51 +00:00
l10n daemon script
428fa947a4 SVN_SILENT made messages (after extraction) 2016-09-25 10:36:05 +00:00
Albert Vaca
b454dec0a0 Merge branch '1.x' 2016-09-24 20:34:03 +02:00
Albert Vaca
2e3fabb3e5 Bumped version to release 2016-09-24 20:28:05 +02:00
Albert Vaca
c7b754a36e Swapped branches in if statement caused settings to not be stored in db 2016-09-24 20:26:23 +02:00
l10n daemon script
347c34927d SVN_SILENT made messages (after extraction) 2016-09-23 10:40:27 +00:00
Albert Vaca
6c3811a0af Merge branch '1.x' 2016-09-20 12:47:50 +02:00
Albert Vaca
e9013e7995 Android Studio 2.2 complains if we use an old version of the gradle plugin 2016-09-20 12:46:59 +02:00
Albert Vaca
3b5a7deebe Rewritten the Notification Filter.
- Now we display every app in the phone.
- We show the app icon next to the name.
- Some apps can now be disabled by default.

Disabled notifications for the default Android messaging app, as SMS
notifications are already handled by the telephony plugin.

BUG: 367930
2016-09-20 12:46:28 +02:00
Albert Vaca
ac04f5a610 Oops 2016-09-20 11:08:59 +02:00
Albert Vaca
efce35366b Bumped version to release 2016-09-20 10:54:44 +02:00
Albert Vaca
1a32f8142d Do not unpair on every handshake error.
Sometimes we get stupid errors like "connection closed by peer".

BUG: 368812
2016-09-20 10:53:10 +02:00
Albert Vaca
103f24c140 Reduce logging 2016-09-20 10:51:37 +02:00
Albert Vaca
66cdb77bbd Fixed margins of notification filter activity 2016-09-20 10:48:06 +02:00
Albert Vaca
86245a697e Print a warning if device name is not in the list of human readable names. 2016-09-19 16:20:35 +02:00
Albert Vaca
041f172195 Merge remote-tracking branch 'origin/1.x' 2016-09-19 16:19:21 +02:00
Albert Vaca
91eefcc65a Fixed margins in the settings activity 2016-09-19 16:16:30 +02:00
Albert Vaca
b25ec2d133 Added cipher list for Android versions between 11 and 21.
BUG: 368172
2016-09-19 16:16:30 +02:00
l10n daemon script
e2e78cb562 SVN_SILENT made messages (after extraction) 2016-09-19 10:16:29 +00:00
l10n daemon script
8b0b65178b SVN_SILENT made messages (after extraction) 2016-09-18 10:38:50 +00:00
l10n daemon script
6c1dcda744 SVN_SILENT made messages (after extraction) 2016-09-18 07:04:53 +00:00
l10n daemon script
34d8a771d7 SVN_SILENT made messages (after extraction) 2016-09-14 10:29:43 +00:00
l10n daemon script
91913664be SVN_SILENT made messages (after extraction) 2016-09-14 06:53:53 +00:00
Albert Vaca
9e680d1494 Merge branch '1.x' 2016-09-13 16:58:41 +02:00
Albert Vaca
7f3afd194b Trying to debug a "no shared ciphers" issue some users are experiencing. 2016-09-13 16:56:23 +02:00
Albert Vaca
4158a14437 Merge branch '1.x' 2016-09-12 17:15:06 +02:00
Albert Vaca
ef79b04d1a Bumped version to release 2016-09-11 21:47:49 +02:00
Albert Vaca
62bf2ccab7 Fixed clipboard propagation loop bug
Now ClipboardListener is a singleton

BUG: 362596
2016-09-11 21:40:07 +02:00
l10n daemon script
28a33172ce SVN_SILENT made messages (after extraction) 2016-09-08 07:23:50 +00:00
Albert Vaca
901440f78a Don't return an empty list of supported plugins
If we don't know it yet return them all.
2016-09-06 10:53:24 +02:00
Albert Vaca
e9a64dc99a Don't show the Encryption Info menu if we are not connected with the device
We don't know the actual encryption used unless we have a device link.
2016-09-06 10:53:24 +02:00
l10n daemon script
086194c629 SVN_SILENT made messages (after extraction) 2016-09-01 07:22:43 +00:00
l10n daemon script
23f7eb90ba SVN_SILENT made messages (after extraction) 2016-08-31 10:22:15 +00:00
Albert Vaca
75eca915dd Merge branch 'master' of git.kde.org:kdeconnect-android 2016-08-29 11:54:08 +02:00
Albert Vaca
cfcf9d97e7 Merge branch '1.x' 2016-08-29 11:53:49 +02:00
Albert Vaca
a8838b57bb What XML file? 2016-08-29 11:49:25 +02:00
Albert Vaca
2989fe5ab3 Bump version to release 2016-08-29 11:49:04 +02:00
Albert Vaca
9c40374b00 Unpair only when there is no certificate
Unpairing on every error was a bit too aggressive.

BUG: 367937
2016-08-29 11:48:30 +02:00
l10n daemon script
4acf931f5a SVN_SILENT made messages (after extraction) 2016-08-27 07:23:55 +00:00
Albert Vaca
1b369d0bf8 Bumped version to release 2016-08-26 19:13:04 +02:00
Albert Vaca
f093326f93 Re-enabled SMS plugin 2016-08-26 19:13:04 +02:00
Saikrishna Arcot
e95265c263 MPRIS: Read and apply the allowed actions for the player.
Read list of allowed actions for the player sent from KDE, and hide
buttons that perform actions that aren't allowed based on MPRIS.

REVIEW: 128273
2016-08-26 11:12:58 +02:00
Albert Vaca
fa689bace6 Merge branch '1.x' 2016-08-26 11:06:43 +02:00
Albert Vaca
b43e0628c2 FindMyPhone: Calling ring twice now stop the ringing
BUG: 366253
2016-08-26 11:04:56 +02:00
Albert Vaca
fdd6de5cee Gradle 2.1.3 fixes a privilege escalation vulnerability in 2.1.2 2016-08-26 11:02:54 +02:00
Albert Vaca
816d47026e Bumped version to release 2016-08-25 18:08:16 +02:00
Albert Vaca
14e97545e4 Unpair on error 2016-08-25 18:06:56 +02:00
l10n daemon script
1d5efe36f0 SVN_SILENT made messages (after extraction) 2016-08-19 10:33:47 +00:00
l10n daemon script
625bdd36e3 SVN_SILENT made messages (after extraction) 2016-08-19 07:02:54 +00:00
l10n daemon script
9478f5bb39 SVN_SILENT made messages (after extraction) 2016-08-15 10:10:03 +00:00
l10n daemon script
1f0e7f9705 SVN_SILENT made messages (after extraction) 2016-08-13 10:45:06 +00:00
l10n daemon script
fe4f099663 SVN_SILENT made messages (after extraction) 2016-08-11 10:52:48 +00:00
l10n daemon script
7272c0abf1 SVN_SILENT made messages (after extraction) 2016-08-10 10:28:10 +00:00
l10n daemon script
cbb1f3d806 SVN_SILENT made messages (after extraction) 2016-08-08 10:28:30 +00:00
l10n daemon script
717bb081a7 SVN_SILENT made messages (after extraction) 2016-08-08 06:58:25 +00:00
l10n daemon script
37669e2be0 SVN_SILENT made messages (after extraction) 2016-08-06 11:10:46 +00:00
l10n daemon script
9d612192e3 SVN_SILENT made messages (after extraction) 2016-08-06 07:27:45 +00:00
l10n daemon script
25527af4ad SVN_SILENT made messages (after extraction) 2016-08-05 10:08:52 +00:00
l10n daemon script
6c7cb63af9 SVN_SILENT made messages (after extraction) 2016-08-04 11:04:58 +00:00
l10n daemon script
4b171e624f SVN_SILENT made messages (after extraction) 2016-07-17 07:34:28 +00:00
Albert Vaca
e49ab67e26 Oops, still one place was missing. 2016-07-14 14:43:39 +02:00
Albert Vaca
edc3075763 Reintroduced hack as we broke compatibility with devices using version 0.9
And bumped version to release
2016-07-14 07:13:50 +02:00
Albert Vaca
fd2102b432 Bump version to release 2016-07-13 18:20:37 +02:00
Albert Vaca
adee9014fd Fixed sending files, we were closing the stream before it was sent 2016-07-13 18:20:15 +02:00
Albert Vaca
2c0d9af64d Unpair also if handshake fails but the callback is not called 2016-07-13 18:12:12 +02:00
Albert Vaca
53117c9a4b Bumped version to release beta 2016-07-13 18:11:48 +02:00
Albert Vaca
47ba298128 Disabled removing links when exiting discovery mode because it was broken.
If both devices are in "discovery mode" (ie: both want to keep links
established) and the last one to create the link goes out of discovery
mode, it will close the link when it shouldn't (because the other end still
was "using" it to display it to the user).
2016-07-12 12:39:51 +02:00
Albert Vaca
c5456fd84e Fixed issues detected in static analysis by Coverity 2016-07-07 17:45:04 +02:00
Albert Vaca
d29868ac04 Fixed npe when receiving payloads
Converting a socket to SSL has to be done after connecting to an address
2016-07-06 19:03:52 +02:00
Albert Vaca
4b7c5fb85a Fixed loopback link 2016-07-06 18:43:41 +02:00
Albert Vaca
de81a20f82 Made capabilities static like in /r/128386/ 2016-07-06 17:45:12 +02:00
l10n daemon script
ed9b804693 SVN_SILENT made messages (after extraction) 2016-07-06 07:16:41 +00:00
l10n daemon script
d9cc1c0ba4 SVN_SILENT made messages (after extraction) 2016-07-04 08:10:10 +00:00
l10n daemon script
92b8238977 SVN_SILENT made messages (after extraction) 2016-07-02 07:39:38 +00:00
l10n daemon script
8567abdfa6 SVN_SILENT made messages (after extraction) 2016-07-01 07:41:23 +00:00
l10n daemon script
d490d53be7 SVN_SILENT made messages (after extraction) 2016-06-30 07:37:33 +00:00
Saikrishna Arcot
7981d952ec Allow any type of list to be passed into NetworkPackage
And change return types to use List interface as well.

REVIEW: 128287
2016-06-28 21:53:26 +02:00
Albert Vaca
4e86eb0dd3 Changed some plugins descriptions to make them more discoverable.
Sorry translators!
2016-06-28 20:00:41 +02:00
l10n daemon script
6f8947377a SVN_SILENT made messages (after extraction) 2016-06-28 08:24:30 +00:00
Albert Vaca
106e651c6c Bumped version number to release 2016-06-26 17:26:57 +02:00
Albert Vaca
5669e3c22c Split notifications plugin in two: send and receive. 2016-06-26 17:08:47 +02:00
Albert Vaca
2d1dbd124c Fixed NPE if playerList was received null (which was due to a bug).
Maybe np.has(key) should return false if the key is set but null?
2016-06-26 17:07:57 +02:00
Albert Vaca
1edcbd2b39 Fixed incorrect packet type 2016-06-26 17:05:17 +02:00
Albert Vaca
c76a32ff05 Unused function 2016-06-26 17:04:54 +02:00
l10n daemon script
c078e45a98 SVN_SILENT made messages (after extraction) 2016-06-22 07:47:39 +00:00
Albert Vaca
163e3c31f4 Bumped version number to release 2016-06-21 17:29:26 +02:00
Albert Vaca
5a5e236710 Update build tools 2016-06-21 17:29:10 +02:00
Albert Vaca
603c87d42d Fixed tests after last refactor of lanlink 2016-06-21 16:45:18 +02:00
Albert Vaca
1a04bfbbea Fixed simple issues detected by lint 2016-06-21 16:44:21 +02:00
Albert Vaca
fec0b34330 Socket can't be null 2016-06-21 13:39:55 +02:00
Albert Vaca
f6c4084746 error -> warning for some logs 2016-06-21 13:38:21 +02:00
Albert Vaca
968d018f41 We were never reusing the existing link 2016-06-21 13:37:49 +02:00
Albert Vaca
4fc6ca8d4f Further simplified lanbackend 2016-06-20 14:26:49 +02:00
Albert Vaca
d3ab18b721 Increased version number to release as beta 2016-06-17 10:03:54 +02:00
Albert Vaca
b2d0e57641 Missing start() call on a thread! 2016-06-17 10:02:22 +02:00
Albert Vaca
66238406d6 Print if trusted when creating an ssl socket 2016-06-17 09:59:46 +02:00
Albert Vaca
010c960680 Check for trusted only once 2016-06-17 09:59:31 +02:00
Albert Vaca
49d4383828 Renamed running -> listening 2016-06-17 09:56:53 +02:00
Albert Vaca
226869e200 Fixed shared urls and text having the wrong package type 2016-06-17 09:43:23 +02:00
Albert Vaca
bbc1113710 Bumped version to release in beta channel 2016-06-17 02:27:18 +02:00
Albert Vaca
b3bacf241c Support both the new and old UDP port 2016-06-17 02:25:52 +02:00
Albert Vaca
ff47313409 Be less verbose 2016-06-17 02:25:10 +02:00
Albert Vaca
ac4f072322 Code cleanup 2016-06-17 02:01:20 +02:00
Albert Vaca
5ed1b80716 Fast compilation 2016-06-16 23:48:16 +02:00
Albert Vaca
8a413bb42e Working :D 2016-06-16 23:48:16 +02:00
Albert Vaca
71dc713578 Getting rid of netty WIP 2016-06-16 23:48:16 +02:00
Albert Vaca
ca3d677db6 Fixed warning 2016-06-16 23:46:24 +02:00
Albert Vaca
79ed37345b Simplified logic to find open ports. 2016-06-16 23:10:08 +02:00
Pinak Ahuja
24c404400f Add support to deal with album arts sent by mpris plugin.
We should probably look into resizing the album art according
 to the DPI of the device.
2016-06-16 10:37:04 +02:00
l10n daemon script
082de423c0 SVN_SILENT made messages (after extraction) 2016-06-16 07:48:15 +00:00
Albert Vaca
b5fb7f73ee Updated netty 2016-06-16 00:53:36 +02:00
Albert Vaca
097d1f5fa5 Removed log 2016-06-16 00:40:37 +02:00
Albert Vaca
5fa43f8979 Removed SO_BACKLOG because of a log message about it being unsupported 2016-06-16 00:40:37 +02:00
Albert Vaca
e5c7adba3a Ignore udp packets on the old port for devices that know about the new port 2016-06-16 00:40:20 +02:00
Kai Uwe Broulik
ced5c71369 [MousePadPlugin] Support mouse wheel events
This allows to scroll using a touch-enabled physical keyboard or a real mouse

BUG: 360006

Reviewed-By: Albert Vaca
2016-06-14 18:42:21 +02:00
Albert Vaca
9bf2adefc4 Commented annoying log message 2016-06-14 17:39:41 +02:00
Albert Vaca
24685348cf Moved hardcoded protocol version numbers to constants 2016-06-14 17:39:20 +02:00
Albert Vaca
7556e1d7fa Allow kdeconnect to broadcast both on UDP port 1714 and 1716 2016-06-14 11:13:20 +02:00
Albert Vaca
c9b852f88c Fix leak on Android < IceCream when workerGroup hasn't been initialized 2016-06-14 11:13:20 +02:00
Albert Vaca
d8169f3787 Reuse channel initializers in LanLinkProvider 2016-06-14 11:13:20 +02:00
l10n daemon script
b71e8562bc SVN_SILENT made messages (after extraction) 2016-06-13 08:19:24 +00:00
Albert Vaca
4d19a7cdc8 Fixed tests 2016-06-12 21:07:01 +02:00
Albert Vaca
ae7a80e262 Removed duplicate code when receiving identity packages via tcp and udp 2016-06-12 21:00:19 +02:00
l10n daemon script
4a269a607c SVN_SILENT made messages (after extraction) 2016-06-12 07:23:58 +00:00
Albert Vaca
a6c23b252c Increased version number to release 2016-06-10 15:47:51 +02:00
Albert Vaca
fa5f584fe4 shrinkResources was deleting our plugin preferences XML! 2016-06-10 15:47:18 +02:00
Albert Vaca
634f71d724 Increased version to release 2016-06-10 11:52:41 +02:00
Albert Vaca
055e0f6454 Added a comment explaining the proguard line we added yesterday. 2016-06-10 11:50:57 +02:00
Albert Vaca
8df2b7b0ee Fix the status bar covering the action bar in Android 4.4
Apparently the status bar handles translucency differently on 4.4 and 5+
2016-06-10 11:50:57 +02:00
l10n daemon script
5f64e94878 SVN_SILENT made messages (after extraction) 2016-06-10 07:25:16 +00:00
Albert Vaca
abbbc9414d Make proguard keep mina, as SSHD uses it.
Mina uses reflection (eg in SimpleIoProcessorPool.java), so proguard was
breaking it.
2016-06-09 16:00:04 +02:00
Albert Vaca
cfa13cb16b Updated to latest stable netty 2016-06-09 15:59:05 +02:00
Albert Vaca
d726fe23bf Increased version to release 2016-06-09 15:00:55 +02:00
Albert Vaca
d920b2659d Trying to fix people not being able to mount sftp 2016-06-09 15:00:42 +02:00
Albert Vaca
0836453c35 Project-wise optimize imports 2016-06-09 13:42:54 +02:00
Albert Vaca
09e1811bd8 Deprecated sendPackageEncrypted
It's only called for compatibility with old devices
2016-06-09 13:42:54 +02:00
Albert Vaca
1ab07d201e Enabled keepalive, increased socket queue size and removed logging handler 2016-06-09 13:42:54 +02:00
Albert Vaca
1c2dfdb795 Variable name 2016-06-09 13:42:54 +02:00
l10n daemon script
dd3df9d19f SVN_SILENT made messages (after extraction) 2016-06-08 07:13:23 +00:00
l10n daemon script
5bfbd90414 SVN_SILENT made messages (after extraction) 2016-06-07 08:29:00 +00:00
Albert Vaca
5eb17f7a9a Do not complain if there is no public key. 2016-06-07 00:35:07 +02:00
Albert Vaca
44be314899 Fixed bug that made file transfers not work.
The socket was not initialized for SSL when it should.
2016-06-07 00:28:37 +02:00
Albert Vaca
728fa0b508 Made SftpImpl contain a single class and renamed the file to match its name
This looks more like the java way.
2016-06-06 23:59:25 +02:00
Albert Vaca
e9e93423f1 Don't complain about our own packet types 2016-06-06 23:56:01 +02:00
Albert Vaca
a1dd4fe2cc Remove some hardcoded left-align 2016-06-06 18:35:47 +02:00
Albert Vaca
2294f30505 We actually work on RTL 2016-06-06 18:06:11 +02:00
Albert Vaca
8c86edcf33 Don't log an empty list 2016-06-06 18:05:48 +02:00
Albert Vaca
113739e1d9 Fixed rare crash 2016-06-06 00:01:59 +02:00
l10n daemon script
48cd5aa29b SVN_SILENT made messages (after extraction) 2016-06-05 07:23:59 +00:00
Albert Vaca
5487c5556b Specify useProgard and shrinkResources for Gradle plugin 2.1
minifyEnabled alone in 2.0+ refers to the new experimental code shrinker
shrinkResources removes unused resources
2016-06-04 15:26:13 +02:00
Albert Vaca
e34de854bf New release. 2016-06-04 13:46:02 +02:00
Albert Vaca
d8aab59d4b Trying to fix a bug some people is experiencing with the sensitivity option 2016-06-04 13:45:33 +02:00
Albert Vaca
835a4f0bc7 This should make the sms plugin work with old kdeconnect-kde git master.
For people using Ubuntu, which packages some random git version.
2016-06-04 13:43:34 +02:00
Albert Vaca
a588c8f787 Revert "SVN_SILENT made messages (after extraction)"
This reverts commit 2497ec2b1c.
2016-06-04 13:40:47 +02:00
Albert Vaca
36d1145df7 Increased support library version 2016-06-04 13:30:04 +02:00
Albert Vaca
5d3ccbe0b0 Incresed build tools version 2016-06-04 13:29:52 +02:00
l10n daemon script
2497ec2b1c SVN_SILENT made messages (after extraction) 2016-06-04 07:28:40 +00:00
Albert Vaca
bb8f015e87 Increased version number 2016-06-04 02:21:45 +02:00
Albert Vaca
f3e5bf917a Removed unneeded whitespaces. 2016-06-04 02:21:28 +02:00
Frederik Schwarzer
45ba30e0ba There should be no space before the colon. 2016-06-03 21:43:53 +02:00
Aleix Pol
f967c2888d Make sure we're not left with the sensitivity uninitialized
Fallback to the same value as default
2016-06-03 15:34:04 +02:00
Albert Vaca
6f0b581c02 Fixed crash 2016-06-03 14:51:31 +02:00
Albert Vaca
b0b67f2059 Added fixme 2016-06-03 01:35:45 +02:00
Albert Vaca
53ad86fe9a Do not show red messages to everybody (we will release Android before KDE) 2016-06-03 01:35:15 +02:00
Albert Vaca
39107400d4 Changed runcommand description 2016-06-03 01:12:47 +02:00
Albert Vaca
3f20af445a Renaming a package type was a bad call 2016-06-03 00:46:18 +02:00
Albert Vaca
e433ad8bce These logs are useless if we have no capabilities 2016-06-02 16:14:52 +02:00
Albert Vaca
53ca2a392c Hack got hackier 2016-06-02 15:57:12 +02:00
Albert Vaca
b7d9cb5d81 Using capabilities, packages no longer need to validate received packages 2016-06-02 15:35:44 +02:00
Albert Vaca
05e031d41f Changed to match the kdeconnect-kde side 2016-06-02 15:23:49 +02:00
Albert Vaca
d7956650da Log when sending a package type that no plugin has declared 2016-06-02 15:23:34 +02:00
Albert Vaca
43467aedd8 Hack to make packet types match those of older versions 2016-06-02 15:22:40 +02:00
Albert Vaca
541cd97c71 If capabilities are not present, iterate all plugins 2016-06-02 15:22:21 +02:00
Albert Vaca
7759152eeb Do not swallow packets silently 2016-06-02 13:56:46 +02:00
Albert Vaca
305d496bf5 Mute call button was not working on Android M because of a deprecated API 2016-06-02 13:26:19 +02:00
Albert Vaca
01b5c3e2a1 Be less verbose 2016-06-02 13:25:55 +02:00
Albert Vaca
a26d6a94f9 Increased version number for release candidate. 2016-06-02 12:37:20 +02:00
Albert Vaca
9dc8db00b5 Disabled SMS plugin so we don't require new permissions in this version 2016-06-02 12:36:50 +02:00
Albert Vaca
5ef5161378 Typo 2016-06-02 12:30:40 +02:00
Albert Vaca
0897f25a6f Less verbose logging of unmatched capabilities 2016-06-02 12:28:33 +02:00
Albert Vaca
394e530545 Wait a bit before forgetting about an old channel.
We might still receive a packet sent before the replacement.
2016-06-02 12:24:22 +02:00
Albert Vaca
ebbf5d165c Cosmetic changes to variable names 2016-06-02 12:20:04 +02:00
Albert Vaca
a0d2a61ce9 Merge branch 'master' into sslrefactor 2016-06-01 13:21:55 +02:00
Albert Vaca
2350e86023 Using the default theme in findmyphone 2016-06-01 13:21:30 +02:00
Albert Vaca
2552663742 Checking for null didn't work, just using the ringtone now. 2016-06-01 13:21:17 +02:00
Albert Vaca
d729eed1cd Merge branch 'master' into sslrefactor
# Conflicts:
#	src/org/kde/kdeconnect/Plugins/FindMyPhonePlugin/FindMyPhonePlugin.java
#	src/org/kde/kdeconnect/Plugins/TelephonyPlugin/TelephonyPlugin.java
2016-06-01 12:58:10 +02:00
Albert Vaca
284ef5e571 TYPE_ALARM can return null. Adding a fallback. 2016-06-01 12:56:07 +02:00
Albert Vaca
0c98964f16 Input plugin only sends requests 2016-06-01 12:07:22 +02:00
Albert Vaca
6783ce2f1b Removed old log 2016-05-31 21:02:48 +02:00
Albert Vaca
6f6caa0e8d Log if plugins receive wrong packets 2016-05-31 21:02:35 +02:00
Albert Vaca
614505518b Fixed capabilities 2016-05-31 21:02:17 +02:00
Albert Vaca
240fa34833 Do not use encryption if the protocol is 6 2016-05-31 21:00:18 +02:00
Albert Vaca
6ecfc5071e Less alarming notification icon 2016-05-31 19:04:09 +02:00
Albert Vaca
d539cd704b Since we renamed the capabilities, disable them on old clients
We don't want old kdeconnects to try to use the renamed capabilities.
2016-05-31 17:23:55 +02:00
Albert Vaca
d253fcfd0b Refactor capabilities together with Aleix
He is committing a similar patch to kdeconnect-kde
2016-05-31 17:19:39 +02:00
Albert Vaca
01b1e6ee4a Added missing shadow under the main activity's toolbar 2016-05-25 14:21:56 -06:00
Albert Vaca
969249e6d7 Added warning icon to the "not reachable" screen.
This way it doesn't look identical to the touchpad activity.
2016-05-25 14:01:30 -06:00
Albert Vaca
4f70c42ce5 Deleted stray file 2016-05-25 14:01:24 -06:00
Albert Vaca
4a612fd073 Removing log message 2016-05-25 10:57:50 -06:00
Albert Vaca
108f9e911d Typo 2016-05-25 10:57:27 -06:00
Albert Vaca
ddef90b985 Added some comments in build.gradle 2016-05-19 09:38:24 -07:00
Albert Vaca
e96f520829 Less and more useful logging in LanBackend 2016-05-19 09:29:17 -07:00
Albert Vaca
f9aeca8ef9 (un)serialize will now throw instead of failing silently 2016-05-19 09:28:15 -07:00
Albert Vaca
65c3dc4570 Reverting 6ed3a18
sshd > 0.8 seems to fail with "Could not find a valid sshd io provider"
2016-05-19 08:45:24 -07:00
l10n daemon script
aee22b5d15 SVN_SILENT made messages (after extraction) 2016-05-13 07:35:56 +00:00
l10n daemon script
2759da8d64 SVN_SILENT made messages (after extraction) 2016-05-08 07:17:03 +00:00
l10n daemon script
f615e95eeb SVN_SILENT made messages (after extraction) 2016-04-09 07:37:58 +00:00
l10n daemon script
e14da0d544 SVN_SILENT made messages (after extraction) 2016-04-04 08:20:21 +00:00
Albert Vaca
c01892f113 Fixed warnings 2016-03-15 13:54:44 -07:00
Albert Vaca
e39d5cc8ca The timer should remove the blacklisting, not add it again
Also added some logging and get the device id only once
2016-03-15 13:43:51 -07:00
Albert Vaca
45aa9d151f Compare against version 6, not current version 2016-03-15 13:37:23 -07:00
Albert Vaca
00715f3b6e Reusing provider 2016-03-15 12:55:25 -07:00
l10n daemon script
6e95e20521 SVN_SILENT made messages (after extraction) 2016-03-15 08:55:38 +00:00
Albert Vaca
2c513b598a Cleanup 2016-03-08 07:31:04 -08:00
Albert Vaca
fd7d39e6ac Added some proguard rules suggested by proguard itself when running 2016-03-07 15:49:45 -08:00
Albert Vaca
98914ce182 Fixed build
Somehow we need multidexing now, probably because when we build in debug
without proguard stripping unused code, we reach the max method count.
2016-03-07 15:49:30 -08:00
Albert Vaca
36e8d14973 Hack to fix "low battery" notification spam
When two phones were paired together and notification sync enabled, one
phone was receiving the notification again and again from the other, which
made obvious that it was being sent over and over.
2016-03-07 15:46:43 -08:00
Àlex Fiestas
17d5eeade0 Add fallback in case the contact does not have a name
Basically set the phoneNumber as name as it was before this change.

REVIEW: 127297
2016-03-07 11:38:36 +01:00
Àlex Fiestas
76eb88b51f Removed unused variable from ContactsHelper 2016-03-07 11:37:54 +01:00
Àlex Fiestas
07a9319c30 Also send the contact photo when a SMS is received
Pretty much like the phone call case.
2016-03-06 21:58:01 +01:00
Àlex Fiestas
c87b09c5f0 If the contact has a photo, include it in the packet
Basically adds as base64 in the packet the contact Photo. We should not
have to worry about the size of it since it is always 96x96 and android
takes care of that.
2016-03-06 21:58:01 +01:00
Àlex Fiestas
708bcf9928 Adapt phoneNumberLookup to return more information
It returns now photoID plus the name and it can be easily expanded in
the future if required.
2016-03-06 21:58:01 +01:00
Albert Vaca
b45a15c822 Made logs different so we can debug 2016-03-04 08:41:53 -08:00
Albert Vaca
0eba461654 Moved all the bouncy(spongy)castle code to the SslHelper class 2016-03-03 15:42:39 -08:00
Albert Vaca
7813b7309d Fixme 2016-03-03 15:41:44 -08:00
Albert Vaca
87e214761f Made sshd use spongycastle instead of bouncycastle
We have to add the DHG14 key exchange factory by hand because when calling
setUpDefaultServer with Bouncy Castle disabled, it assumes DHG14 is not
supported (but it is, because we are adding spongycastle).
2016-03-03 12:22:22 -08:00
Albert Vaca
6ed3a18f53 Upgraded sshd to 0.9
We can't upgrade it to 1.0 or 1.1 because these need java.nio.file, which
is standard java 7 but not present in Android.
2016-03-03 11:53:34 -08:00
Albert Vaca
db7e40fb35 Made proguard not keep **, but just the classes that we need
Disabled obfuscation, so stack traces are still useful
2016-03-03 11:37:36 -08:00
Albert Vaca
501ac90379 Java 7 is supported from API8, so why not enabling it? 2016-03-03 11:16:26 -08:00
Albert Vaca
4d553518f6 BouncyCastle doesn't work on Android 2.3, but spongy does
Now we have to make sshd work with spongy
2016-03-03 11:11:39 -08:00
Albert Vaca
9a2167774b Attribute not needed 2016-03-02 15:51:43 -08:00
Albert Vaca
22edb24230 Removed unused var. Fixed comments. Fixed typo. 2016-03-02 15:25:10 -08:00
Albert Vaca
f13a7148fc Don't complain about the public key we don't use 2016-03-02 11:40:10 -08:00
Albert Vaca
c0d21e986c Re-use existing link instead of creating a new one 2016-03-02 11:39:49 -08:00
Albert Vaca
baee1771f5 We don't need the chanel id to chanel map. 2016-03-02 10:40:17 -08:00
Albert Vaca
910af86c31 Updated dependencies 2016-03-02 10:39:23 -08:00
l10n daemon script
9f2999de23 SVN_SILENT made messages (after extraction) 2016-02-24 07:04:49 +00:00
Albert Vaca
acb2888bde Fixed test imports 2016-02-17 08:45:13 -08:00
Albert Vaca
06c872fddc LinearLayout is more performant than RelativeLayout 2016-02-17 08:45:03 -08:00
Albert Vaca
158931f766 Make drawer display under the system notifications bar 2016-02-17 08:44:41 -08:00
Albert Vaca
deac88031b Fixed drawer background not being the same color as the items background 2016-02-17 08:43:09 -08:00
Albert Vaca
f4c221cf66 Re-using a single SecureRandom, as it's expensive to initialize 2016-02-17 04:48:19 -08:00
Albert Vaca
521a27c09d Using longer and mixed case passwords 2016-02-17 04:48:01 -08:00
Albert Vaca
89a65ab3e2 Specify the TLS version we want
We need v1 to support Androids before API16
2016-02-17 04:07:12 -08:00
Albert Vaca
abd91b7d6c Sftp can now work with passwords when the public key is not available 2016-02-17 04:06:35 -08:00
l10n daemon script
79f096c09e SVN_SILENT made messages (after extraction) 2016-02-16 08:43:40 +00:00
l10n daemon script
9d0ef3ddf9 SVN_SILENT made messages (after extraction) 2016-02-13 07:27:17 +00:00
Albert Vaca
8c0fe406ec Merge branch 'master' into sslrefactor 2016-02-12 08:38:59 -08:00
Albert Vaca
7047622a62 Removing log message 2016-02-12 08:38:42 -08:00
Albert Vaca
98ef6aec8c Handle the case where there is no publicKey stored (for protocol v6) 2016-02-12 08:37:47 -08:00
Albert Vaca
c927af4bf3 Added newlines in encryption info 2016-02-12 08:37:18 -08:00
Albert Vaca
88b7c9898f Making sure proguard is not removing anything from bouncy/spongycastle
Some classes are only loaded dynamically and proguard would not see it.
2016-02-12 08:36:58 -08:00
Albert Vaca
62742ff8ae Updated netty 2016-02-12 08:34:27 -08:00
l10n daemon script
7f0ee677bd SVN_SILENT made messages (after extraction) 2016-02-12 07:23:39 +00:00
l10n daemon script
9b1f866cb0 SVN_SILENT made messages (after extraction) 2016-02-08 10:01:32 +00:00
l10n daemon script
353dc12165 SVN_SILENT made messages (after extraction) 2016-02-05 07:07:20 +00:00
l10n daemon script
5588c83909 SVN_SILENT made messages (after extraction) 2016-01-31 07:27:53 +00:00
l10n daemon script
b39433f237 SVN_SILENT made messages (after extraction) 2016-01-26 08:16:21 +00:00
l10n daemon script
612b019856 SVN_SILENT made messages (after extraction) 2016-01-25 09:01:01 +00:00
l10n daemon script
721856ebb6 SVN_SILENT made messages (after extraction) 2016-01-24 07:21:55 +00:00
l10n daemon script
2bd4d16361 SVN_SILENT made messages (after extraction) 2016-01-23 08:18:39 +00:00
Imran Tatriev
e3c5ac9228 Adjust the touchpad sensitivity 2016-01-21 16:39:31 +06:00
l10n daemon script
a75db516ec SVN_SILENT made messages (after extraction) 2016-01-20 08:01:32 +00:00
l10n daemon script
cf82127144 SVN_SILENT made messages (after extraction) 2016-01-19 08:50:26 +00:00
Albert Vaca
8a0e4caaff Fixed crash 2016-01-18 02:42:50 -08:00
Albert Vaca
c647cbd93c Made MPRIS interface wider
BUG: 346120
2016-01-18 02:42:50 -08:00
Albert Vaca
55871b6523 Bumped version number to release 2016-01-18 02:42:50 -08:00
Albert Vaca
8134c39a6d Android doesn't support languages with an @, hack to fix build 2016-01-18 02:42:50 -08:00
l10n daemon script
87c0a9f98e SVN_SILENT made messages (after extraction) 2016-01-18 02:42:06 -08:00
l10n daemon script
226e934d0f SVN_SILENT made messages (after extraction) 2016-01-18 02:42:06 -08:00
l10n daemon script
cfed03881b SVN_SILENT made messages (after extraction) 2016-01-18 09:12:23 +00:00
Albert Vaca
f618e8e670 Merge branch 'master' into sslrefactor 2016-01-17 10:36:27 -08:00
Albert Vaca
fe7b03830e Android doesn't support languages with an @, hack to fix build 2016-01-17 10:33:09 -08:00
Mikhail Ivchenko
caa491d1e7 Make a now playing label scroll horizontally
REVIEW: 126739
2016-01-17 22:22:13 +04:00
l10n daemon script
fba3e75cec SVN_SILENT made messages (after extraction) 2016-01-17 07:22:57 +00:00
Albert Astals Cid
71810c82d3 Disable colored output
Messes up scripty output that ends up in a file
2016-01-16 12:25:45 +01:00
l10n daemon script
7755772f5b SVN_SILENT made messages (after extraction) 2016-01-16 07:47:36 +00:00
Albert Vaca
53096e39eb Ignore if PublicKey is not present
It is not sent anymore while pairing as of protocol version 6
2016-01-15 09:21:51 -08:00
Albert Vaca
c7640967fe Merge branch 'master' into sslrefactor 2016-01-15 08:20:11 -08:00
Albert Vaca
15c2126387 Merge branch '0.9' 2016-01-15 08:19:19 -08:00
Albert Vaca
4f9945205c Untranslated string 2016-01-15 08:18:03 -08:00
Albert Vaca
f0bcf84f6c Untranslated string 2016-01-15 08:15:55 -08:00
Holger Kaelberer
49d499d9a9 notifications: try to decode payload into largeIcon
Newer API levels scale large icons in notifications automatically,
olders don't. Therefore we downscale manually if necessary to avoid
too big icons.

REVIEW: 126667
2016-01-11 20:26:57 +01:00
Albert Vaca
a0f102b26a Commented SftpPlugin as we know it won't work trivially after the refactor. 2016-01-10 08:48:20 -08:00
Albert Vaca
d07ff5a802 SSHD gets confused if spongycastle is present. Changed to BouncyCastle.
It sees it as bouncycastle, tries to load some clases by they classpath and
fails.
2016-01-10 08:46:52 -08:00
Albert Vaca
2421abea22 Bumped a bunch of library and sdk versions 2016-01-10 08:22:56 -08:00
Albert Vaca
1ca09d7f58 Fixing build 2016-01-10 03:16:14 -08:00
Albert Vaca
3e9509123e Merge branch 'master' into sslmaster 2016-01-10 01:24:26 -08:00
Holger Kaelberer
8e990765da Fix loosing already known plugins on reloading
REVIEW: 126273
2016-01-05 20:35:52 +01:00
l10n daemon script
3071323f84 SVN_SILENT made messages (after extraction) 2015-12-30 10:43:10 +00:00
l10n daemon script
2b89c0ed15 SVN_SILENT made messages (after extraction) 2015-12-30 06:51:27 +00:00
l10n daemon script
3861e393e0 SVN_SILENT made messages (after extraction) 2015-12-21 07:50:08 +00:00
l10n daemon script
1c65f55d00 SVN_SILENT made messages (after extraction) 2015-12-09 07:02:43 +00:00
Holger Kaelberer
742332df1e notifications: accept remote notifications
Notification synchronization in working in both directions now
for API level > 17.
For older versions only receiving of notifications is enabled.

REVIEW: 125179
2015-12-07 21:44:30 +01:00
l10n daemon script
d992e6c4eb SVN_SILENT made messages (after extraction) 2015-12-06 07:04:04 +00:00
l10n daemon script
4312648e29 SVN_SILENT made messages (after extraction) 2015-12-05 07:05:07 +00:00
l10n daemon script
d9a144b723 SVN_SILENT made messages (after extraction) 2015-12-03 10:47:04 +00:00
l10n daemon script
513f46aee1 SVN_SILENT made messages (after extraction) 2015-12-03 07:32:02 +00:00
Albert Vaca
f8da00b9b5 Merge branch 'master' into sslmaster 2015-12-02 09:46:22 -08:00
Albert Vaca
da66446200 Fixed back hardware button not working while in the touchpad plugin 2015-12-01 04:10:18 -08:00
Rahil Momin
b2804a4378 Add natural scroll option to mousepad plugin
REVIEW: 126141
2015-12-01 03:40:05 -08:00
l10n daemon script
5687ced2a4 SVN_SILENT made messages (after extraction) 2015-11-30 11:39:21 +00:00
l10n daemon script
115420d2ce SVN_SILENT made messages (after extraction) 2015-11-30 07:59:29 +00:00
l10n daemon script
de8835e9d1 SVN_SILENT made messages (after extraction) 2015-11-26 16:56:10 +00:00
l10n daemon script
7cf2c7d916 SVN_SILENT made messages (after extraction) 2015-11-26 13:49:46 +00:00
l10n daemon script
4e9a036627 SVN_SILENT made messages (after extraction) 2015-11-17 14:10:22 +00:00
l10n daemon script
fe37a29c53 SVN_SILENT made messages (after extraction) 2015-11-17 09:53:36 +00:00
Albert Vaca
78929ad31e Fixed a null pointer exception 2015-11-16 16:35:48 +01:00
Albert Vaca
f60920d556 Merge branch 'master' of git://anongit.kde.org/kdeconnect-android 2015-11-16 15:26:31 +01:00
l10n daemon script
0f2f036c45 SVN_SILENT made messages (after extraction) 2015-11-16 12:01:28 +00:00
Albert Vaca
1a16335f05 Merge branch '0.9' 2015-11-13 09:22:41 -08:00
Albert Vaca
475f85d0d3 Bumped version number 2015-11-13 09:19:26 -08:00
Albert Vaca
6c50d0f05d Indentation. 2015-11-13 09:18:13 -08:00
Albert Vaca
aad298ae31 Fixed remote input not sending numbers.
BUG: 354921
2015-11-13 09:17:57 -08:00
Albert Vaca
1e8aedf582 Merge branch '0.9' 2015-11-12 08:23:26 -08:00
Albert Vaca
4fab4d4a6c Bumped version number for release 2015-11-12 08:17:16 -08:00
Albert Vaca
47db10e055 Warnings 2015-11-12 08:16:54 -08:00
Albert Vaca
c0ae2c9c08 Make the rename box look slightly better 2015-11-12 08:14:24 -08:00
Albert Vaca
f4db8e6160 Trying to make the device label more easily clickable 2015-11-12 08:14:12 -08:00
Albert Vaca
d67985d484 Now with less compilation errors! 2015-11-12 06:41:14 -08:00
Albert Vaca
857d754f8c Merge branch '0.9' 2015-11-12 06:34:14 -08:00
Albert Vaca
d20cf1696b Added more device names 2015-11-12 06:33:20 -08:00
Albert Vaca
ca0ca6f7b7 Do not override system's screen orientation setting
BUG: 345934
2015-11-12 02:31:32 -08:00
Albert Vaca
b7f21e05a8 Merge branch '0.9' 2015-11-11 17:10:42 -08:00
Albert Vaca
3ee9ee27cd Fixed broken link 2015-11-11 17:10:38 -08:00
Albert Vaca
29ff203f24 Spotify player name will now be lowercase, mind both variants... 2015-11-11 11:05:08 -08:00
l10n daemon script
fb8e4a7cc2 SVN_SILENT made messages (after extraction) 2015-11-11 07:49:25 +00:00
l10n daemon script
6258497989 SVN_SILENT made messages (after extraction) 2015-11-07 15:37:41 +00:00
l10n daemon script
9612dabb0a SVN_SILENT made messages (after extraction) 2015-11-01 08:25:22 +00:00
Albert Vaca
1e152581e6 Fixes a typo 2015-10-27 11:45:21 -07:00
Joao Carreira
d59750441f Changes in Contacts Helper
Modify the contact helper in oder to split contact name and
contact number. Those values are sent separately
2015-10-27 11:44:04 -07:00
Malte S. Stretz
61ded9469c Always unlock all mutexes
In a few places ReentrantLocks are used as mutexes.  In case of an
exception happening in the critical section the locks are never
released though.  A ReentrantLock should (almost) always be followed
by a try-finally block as documented in
  http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/ReentrantLock.html
2015-10-27 11:44:04 -07:00
l10n daemon script
f82c01eb66 SVN_SILENT made messages (after extraction) 2015-10-27 09:49:21 +00:00
l10n daemon script
54881a65fa SVN_SILENT made messages (after extraction) 2015-10-26 01:45:55 +00:00
l10n daemon script
1630ca9a25 SVN_SILENT made messages (after extraction) 2015-10-13 10:22:15 +00:00
l10n daemon script
39db14b2ab SVN_SILENT made messages (after extraction) 2015-10-06 10:15:32 +00:00
l10n daemon script
1c13fe90a5 SVN_SILENT made messages (after extraction) 2015-10-03 08:53:40 +00:00
l10n daemon script
d283ed6ecc SVN_SILENT made messages (after extraction) 2015-10-02 08:09:17 +00:00
l10n daemon script
0ff6893b39 SVN_SILENT made messages (after extraction) 2015-09-30 07:59:12 +00:00
l10n daemon script
977fc8a7b6 SVN_SILENT made messages (after extraction) 2015-09-29 09:50:59 +00:00
l10n daemon script
7abace799a SVN_SILENT made messages (after extraction) 2015-09-28 08:20:49 +00:00
l10n daemon script
3207066928 SVN_SILENT made messages (after extraction) 2015-09-22 10:12:26 +00:00
l10n daemon script
12b84811ab SVN_SILENT made messages (after extraction) 2015-09-21 08:07:28 +00:00
l10n daemon script
b66fe45b4f SVN_SILENT made messages (after extraction) 2015-09-19 09:09:32 +00:00
Albert Vaca
9322970d58 Merge branch '0.9'
# Conflicts:
#	res/values-ca/strings.xml
#	res/values-fi/strings.xml
#	res/values-nl/strings.xml
#	res/values-pt-rBR/strings.xml
#	res/values-pt/strings.xml
#	res/values-sv/strings.xml
#	res/values-uk/strings.xml
#	res/values/strings.xml
#	src/org/kde/kdeconnect/Device.java
2015-09-18 08:11:44 -07:00
Albert Vaca
47c9729e04 Removed logs 2015-09-18 04:40:33 -07:00
l10n daemon script
a9676be722 SVN_SILENT made messages (after extraction) 2015-09-18 07:59:16 +00:00
l10n daemon script
f3f80893d2 SVN_SILENT made messages (after extraction) 2015-09-17 09:26:40 +00:00
Albert Vaca
b2819557bc Bumped version number to release 2015-09-16 09:42:09 -07:00
Albert Vaca
6035b91848 Merge branch 'master' of github.com:albertvaka/kdeconnect-android
# Conflicts:
#	store/header.png
#	store/header.xcf
2015-09-16 09:38:59 -07:00
Albert Vaca
3648ee32b4 Fixed header size 2015-09-16 09:36:49 -07:00
Albert Vaca
b8daca41b0 Modified icon for better display on light backgrounds 2015-09-16 09:33:43 -07:00
Albert Vaca
e464c993c2 Merge pull request #3 from micahdenn/master
Modified icon for better display on light backgrounds.
2015-09-16 17:41:37 +02:00
Micah Denn
b342199ed6 Modified icon for better display on light backgrounds and better compliance with material design. 2015-09-16 16:24:52 +01:00
Albert Vaca
6ef91dbb54 Merge branch 'master' of github.com:albertvaka/kdeconnect-android 2015-09-16 07:52:53 -07:00
Albert Vaca
278a358b71 Merge pull request #2 from LukeStonehm/master
Use 'ActionBarDrawerToggle'
2015-09-16 16:14:46 +02:00
l10n daemon script
a3f331f600 SVN_SILENT made messages (after extraction) 2015-09-16 08:15:54 +00:00
Luke Johnstone
e985e3648c UPDATED: • Now implementing 'ActionBarDrawerToggle' -> uses built in drawer icon (with nice built in animation) OCD fix.
• added "open"& "close" string -> inconsequential strings, user will never see these strings, but function requires them.
            Translate strings when you can :)
2015-09-16 09:52:55 +02:00
Albert Vaca
45ca9aae89 Fixed concurrent modification exception 2015-09-14 04:19:13 -07:00
l10n daemon script
dff28d7ee7 SVN_SILENT made messages (after extraction) 2015-09-14 08:11:38 +00:00
l10n daemon script
13dd8a36bd SVN_SILENT made messages (after extraction) 2015-09-13 08:29:41 +00:00
Albert Vaca
2dbb1fcb11 Added new store header 2015-09-12 15:32:30 -07:00
Albert Vaca
13369b078b Added new assets for the store 2015-09-12 14:34:31 -07:00
Albert Vaca
0e8257d515 Bumped version for release 2015-09-12 14:30:20 -07:00
Albert Vaca
a702f7869f Copied translations from master 2015-09-12 13:48:39 -07:00
Albert Vaca
606cbcdd8b Bumped version 2015-09-12 13:37:00 -07:00
Albert Vaca
80026f6d62 Merge branch 'stable' 2015-09-12 13:30:21 -07:00
Albert Vaca
24ca5f706a Fixed pairing requests not being displayed after clicking the notification 2015-09-12 13:21:06 -07:00
Albert Vaca
6b18c2f28e Top margin should be in the title, not in the view 2015-09-12 11:53:06 -07:00
Albert Vaca
0732f94a78 Fixed outgoing interfaces 2015-09-12 08:51:00 -07:00
Albert Vaca
33c233c780 Fixed capabilities being loaded for failed plugins 2015-09-12 08:06:12 -07:00
Albert Vaca
9c29cbf594 Load plugins in the same thread, so we know if they failed or not
This way we can update the capabilities accordingly.
2015-09-12 07:29:45 -07:00
Albert Vaca
6940bac3e6 Do not assume that all the plugins are non-null 2015-09-12 07:17:14 -07:00
Aleix Pol
629b38dec9 Implement the RunCommand plugin
Reviewed by Albert Vaca
2015-09-12 12:28:27 +02:00
Aleix Pol
effa740db4 Don't block plugins if they don't have any capabilities
Reviewed by Albert Vaca
2015-09-12 12:25:22 +02:00
Aleix Pol
3de229f1e5 Fix crash during exception catch
Reviewed by Albert Vaca
2015-09-12 12:24:38 +02:00
Aleix Pol
9b03bdf2c0 Make it possible to trigger a plugin page reload
Reviewed by Albert Vaca
2015-09-12 12:24:11 +02:00
Aleix Pol
56d6cffb71 Extend EntryItem
Makes it possible to use a subtitle in it, if provided.

Reviewed by Albert Vaca
2015-09-12 12:23:30 +02:00
l10n daemon script
a54c0ac4bd SVN_SILENT made messages (after extraction) 2015-09-12 09:17:32 +00:00
Albert Vaca
83415c699c Added an icon for runcommand and updated mpris icon 2015-09-12 02:15:41 -07:00
Albert Vaca
a6b590e477 Updated share_plugin_action icons 2015-09-12 02:11:40 -07:00
David Edmundson
8f53142a16 Add missing file 2015-09-11 21:45:39 +02:00
David Edmundson
8aebaaea2f Implement a "Find my phone" plugin
This makes the phone sound an alarm sound until dismissed. Even when
silent.

Reviewed-by: Albert Vaca
2015-09-11 21:11:01 +02:00
Albert Vaca
f5725b7c8d Merge branch 'master' into ssl
# Conflicts:
#	build.gradle
#	src/org/kde/kdeconnect/Backends/BaseLink.java
#	src/org/kde/kdeconnect/Backends/BaseLinkProvider.java
#	src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java
#	src/org/kde/kdeconnect/Backends/LanBackend/LanLinkProvider.java
#	src/org/kde/kdeconnect/Backends/LoopbackBackend/LoopbackLink.java
#	src/org/kde/kdeconnect/BackgroundService.java
#	src/org/kde/kdeconnect/Device.java
#	src/org/kde/kdeconnect/Helpers/DeviceHelper.java
#	src/org/kde/kdeconnect/UserInterface/DeviceActivity.java
#	src/org/kde/kdeconnect/UserInterface/PairActivity.java
#	tests/org/kde/kdeconnect/LanLinkProviderTest.java
#	tests/org/kde/kdeconnect/LanLinkTest.java
2015-09-11 09:24:35 -07:00
Albert Vaca
16cffda2e2 Increased version number to beta-release 2015-09-11 07:10:38 -07:00
Albert Vaca
291abddeba Merge branch 'stable' 2015-09-11 06:07:41 -07:00
Albert Vaca
473d984971 Moved the unique ID out of networkpackage se we don't need to create one 2015-09-11 06:07:12 -07:00
Albert Vaca
2c829af4e5 Renamed capabilities so we don't clash with KDE4's broken implementation 2015-09-11 05:20:19 -07:00
Albert Vaca
4456210953 Merge branch 'stable' 2015-09-11 04:45:06 -07:00
Albert Vaca
78d80ef5eb Unused import 2015-09-11 04:38:45 -07:00
Albert Vaca
95046e547f Open URLs by default in share plugin 2015-09-11 03:46:23 -07:00
Albert Vaca
34ec43445d Better print something on exception 2015-09-11 03:46:23 -07:00
Albert Vaca
9fed9e4b9a Added a new custom icon for notifications 2015-09-11 03:46:23 -07:00
Albert Vaca
cf8f87b6a1 Fixed crash 2015-09-11 01:23:07 -07:00
Albert Vaca
8307850805 Merge branch 'stable' 2015-09-10 15:52:21 -07:00
Albert Vaca
52a61f5663 Fixed test 2015-09-10 15:49:50 -07:00
Albert Vaca
ec0d91d3c2 Volume icon conforming to the Android Material guidelines 2015-09-10 15:49:50 -07:00
Albert Vaca
424763e3b6 Moved the unique ID out of networkpackage se we don't need to create one 2015-09-10 09:01:12 -07:00
Albert Vaca
7fc7a37be4 Merge branch 'stable' 2015-09-10 08:12:22 -07:00
Albert Vaca
bde4a06fe0 Increased the version number to beta-release 2015-09-10 08:07:06 -07:00
Albert Vaca
dcb54ebf4a Fixed some potential concurrent modification exceptions 2015-09-10 08:05:23 -07:00
Albert Vaca
132a223b8c Merge branch 'stable'
# Conflicts:
#	src/org/kde/kdeconnect/Device.java
2015-09-10 07:52:37 -07:00
Albert Vaca
35dd42f560 Fixed some potential concurrent modification exceptions
# Conflicts:
#	src/org/kde/kdeconnect/Device.java
2015-09-10 07:49:28 -07:00
Albert Vaca
b1ef93a90c Fixed drawer's updateComputerList not being called when there were changes
Plus removed some unnecessary calls in other places.
2015-09-10 07:48:32 -07:00
l10n daemon script
5777dfe238 SVN_SILENT made messages (after extraction) 2015-09-10 03:18:40 +00:00
Albert Vaca
d7123e3435 Merge branch 'stable' 2015-09-09 14:58:01 -07:00
Albert Vaca
a6e22f57f3 Increased version number to beta-release 2015-09-09 12:35:00 -07:00
Albert Vaca
55ae564023 Removed logs 2015-09-09 12:34:50 -07:00
Albert Vaca
24561b58f9 The discovery now should be enabled while navigating the app UI 2015-09-09 12:34:42 -07:00
Albert Vaca
c837079e03 Fixed crash 2015-09-09 12:30:24 -07:00
Albert Vaca
a9b4a6bdea Removed printfs and coding style stuff 2015-09-09 12:30:13 -07:00
Albert Vaca
d35623a28a Fixed discoverable mode dropping connections that we didn't create 2015-09-09 03:31:39 -07:00
Albert Vaca
0b8500338a Removed some logging 2015-09-09 03:22:34 -07:00
Albert Vaca
d5114c2238 Don't disconnect paired devices! 2015-09-09 02:03:36 -07:00
Albert Vaca
37f6c48d56 Merge branch 'stable' 2015-09-09 01:51:35 -07:00
Albert Vaca
1fe01db26e Assume computer by default from the phone for device with no type 2015-09-09 01:51:32 -07:00
Albert Vaca
f56fc9ceb8 Device type should be "desktop", no "computer" 2015-09-09 01:51:03 -07:00
Albert Vaca
1caa44b0ab Make it look better on old Androids 2015-09-09 01:51:03 -07:00
Albert Vaca
13ec8d7a3f Fixed crash on older Androids 2015-09-09 01:51:03 -07:00
Albert Vaca
59cdc2f6a8 Don't show buttons that can't be clicked 2015-09-09 01:50:12 -07:00
Albert Vaca
d860b67ba9 Prettier message 2015-09-09 01:50:12 -07:00
Albert Vaca
803464a7ce Fixed crash 2015-09-09 01:50:12 -07:00
Albert Vaca
b0a96ace32 Show connected devices in pairingfragment because otherwise it's confusing 2015-09-09 01:50:12 -07:00
Albert Vaca
10d9ff5a5a Commented out some logs 2015-09-09 01:50:12 -07:00
Albert Vaca
cedffe6578 Assume computer by default from the phone for device with no type 2015-09-09 01:50:12 -07:00
Albert Vaca
edb0ae3198 Device type should be "desktop", no "computer" 2015-09-09 01:50:11 -07:00
Albert Vaca
57bc4d46a9 Make it look better on old Androids 2015-09-09 01:50:11 -07:00
Albert Vaca
3bd6aabc96 Ooops 2015-09-09 01:50:11 -07:00
l10n daemon script
0eda30b135 SVN_SILENT made messages (after extraction) 2015-09-09 01:59:41 +00:00
Aleix Pol
4fa0a89691 Merge branch 'stable' 2015-09-09 00:46:53 +02:00
Aleix Pol
628142307f Reduce the amount of traffic we get
Only connect to the non-paired devices when we're on discovery mode,
otherwise disconnect from them.

Reviewed by Albert Vaca

BUG: 352424
2015-09-09 00:45:56 +02:00
Albert Vaca
476f7a7840 Implemented capabilities 2015-09-08 15:05:32 -07:00
Albert Vaca
27723c697b Added capabilities to plugins 2015-09-08 14:54:04 -07:00
Albert Vaca
6d28726c3b Show connected devices in pairingfragment because otherwise it's confusing 2015-09-08 14:45:01 -07:00
Albert Vaca
4c0bafa60f Fixed crash 2015-09-08 14:39:07 -07:00
Albert Vaca
ab131863fd Commented out some logs 2015-09-08 05:18:57 -07:00
Albert Vaca
506bc8d2c2 Started implementing the Send SMS plugin 2015-09-08 01:27:07 -07:00
Albert Vaca
b4f8d037e6 Prettier message 2015-09-08 01:27:07 -07:00
Albert Vaca
0b50bd8747 Don't show buttons that can't be clicked 2015-09-08 01:27:07 -07:00
Albert Vaca
da0d5af9d1 Ooops 2015-09-08 01:27:07 -07:00
David Edmundson
e68ba07e09 Use full keyboard handling rather than key events to get UTF-8 support
Use Androids InputConnection mechanism to get data from they keyboard,
rather than handling keys individually. This fixes UTF-8. As a side
effect, using "Google Voice Keyboard" to enter text will automatically
work.

Special keys and modifiers are still handled by the key event handler.

BUG: 350437
2015-09-08 10:23:49 +02:00
Albert Vaca
e637f46a46 Bumped version number to beta-release. 2015-09-07 02:19:47 -07:00
Albert Vaca
92e4fa864a Removed old UI 2015-09-07 02:16:23 -07:00
Albert Vaca
0e40327a50 Darkened volume icon 2015-09-07 02:16:23 -07:00
Albert Vaca
596440a0bc Bumped version number to release 2015-09-07 02:16:23 -07:00
Albert Vaca
8d9634730f DeviceFragment now also has the UI for pairing, dropped PairingActivity. 2015-09-07 02:16:23 -07:00
Albert Vaca
79f55d7ac2 Share Plugin now adds a "send file" item in the device plugins list. 2015-09-07 02:16:23 -07:00
Albert Vaca
9cc51287e2 MainActivity -> MaterialActivity 2015-09-07 02:16:23 -07:00
Albert Vaca
dd94f30c8a Implemented the context menu for PairingFragment 2015-09-07 02:16:23 -07:00
Albert Vaca
e2081d3892 Make sure we close our streams! 2015-09-07 02:16:23 -07:00
Albert Vaca
aa94a61732 Materialized logo 2015-09-07 02:16:23 -07:00
Albert Vaca
405dc258db Fixed DeviceFragment not loading the latest plugins list when displayed 2015-09-07 02:16:23 -07:00
Albert Vaca
c535637b45 Fixed PairingFragment and MaterialAct stealing the callback from each other 2015-09-07 02:16:23 -07:00
Albert Vaca
4d9f2d12b5 Change activity after unpairing 2015-09-07 02:16:23 -07:00
Albert Vaca
c46c669aad Fixed plugin list not reloading after the noti plugin is given permissions 2015-09-07 02:16:23 -07:00
Albert Vaca
e1f3ac9491 Removed some unused imports 2015-09-07 02:16:23 -07:00
Albert Vaca
1692fe714d Small appearance fixes. 2015-09-07 02:16:23 -07:00
Albert Vaca
9e44ce9c02 Trying to add the options menu to the DeviceFragment + crashes fixed 2015-09-07 02:16:23 -07:00
Albert Vaca
53d9b85d8b It's now possible to rename your device from the new UI 2015-09-07 02:16:23 -07:00
Albert Vaca
e71e409a38 Changed the colors of the drawer 2015-09-07 02:16:23 -07:00
Albert Vaca
4b9d946774 Fixed notifications plugin incompatibility with Android<21 2015-09-07 02:16:23 -07:00
Albert Vaca
e59ffc97fa More material: pairing works and revamped plugin preferences 2015-09-07 02:16:23 -07:00
Albert Vaca
12334f5a31 WIP 2015-09-07 02:16:22 -07:00
Ashish Bansal
0eb3c6e9f5 Load plugins which are registered to listen to unpaired devices
Plugins which are registered to receive packages from unpaired devices
should be loaded even if device is not paired, otherwise they won't be
able to listen to NetworkPackages from the unpaired devices.

REVIEW: 124906
2015-08-27 13:06:24 +05:30
Vineet Garg
b87aead06b Using reverse connection strategy for device with android version less than ICS
Enabled cipher suites manually due to issues caused by DHE by older devices
2015-08-25 01:06:49 +05:30
Vineet Garg
f908f5d8a1 Added spongy castle back, to support certificate generation on older devices which is not possible using bouncy castle due to same class name conflict
Fixed TLS version to TLSv1, this saves a connection failure due to TLSv1.2 hello message from devices with latest android versions

If device with new android version enquires about certificate from device with old version (<14) using setNeedClientAuth, connection fails on older device due to variation in certificate request code. So disabled server loop on older devices and using reverse connection hack for successful connection. But due to this, they can't connect to devices with similar android vesion since server is disabled on both and for a successful connection one should be server and one should be client
2015-08-24 02:03:55 +05:30
Vineet Garg
c4a27255a7 Removed spongycastle, now using bouncy castle version
Added reverse connection blacklist again
2015-08-23 00:11:36 +05:30
Vineet Garg
8cd59e701a Using custom built Netty 4.0.25, with fix for high memory usage.
This version does not have any error, as of now and working fine

Remove timer based blacklist for reverse connection since it is not needed now
2015-08-20 23:48:02 +05:30
Vineet Garg
8556e9399e Device unpairs only on handshake exception, not on any exception 2015-08-20 19:15:51 +05:30
Vineet Garg
6a4f0e79a9 Added timer based reverse connection blacklist to avoid infinite loop when two Android 5.0 devices are trying to connect
Changed netty all to netty handler, netty handler is smaller in size and contains required components
2015-08-20 17:05:13 +05:30
Albert Vaca
b34e7c8a78 Missing breaks in switch 2015-08-20 00:50:56 -07:00
Ashish Bansal
0868394596 Changed abstract plugin to receive packages from unpaired device
Now plugin can register to receive network packages from unpaired
devices.

REVIEW: 124819
2015-08-19 21:36:56 +05:30
Vineet Garg
cf4b840509 OOPS! used device name instead of link name in lan pairing handler 2015-08-17 23:54:10 +05:30
Vineet Garg
50fcea2cd9 Removed conscrypt
Fixed issue in netty, currently use custom build netty
Removed multi dex
2015-08-17 22:56:18 +05:30
Vineet Garg
7c9d6630d0 Show encryption info in device activity too 2015-08-15 18:44:49 +05:30
Vineet Garg
7fec58d6b2 We generate certificate for years present date - 1 to present date + 9, this avoid the case of certificate not valid due to different time zones on devices 2015-08-14 17:49:35 +05:30
Vineet Garg
cc7a1f5a2b Added default value while checking for link name in pairing handler, this provides backward compatibility 2015-08-14 17:34:35 +05:30
Vineet Garg
5b0876f424 Merge branch 'master' into netty 2015-08-13 15:03:36 +05:30
Vineet Garg
ce5d2c8394 Reimplemented pairing handler interface, now it it is similar to kde version 2015-08-13 14:55:00 +05:30
Albert Vaca
403c18a056 Notifications plugin now uses notifications' "key"s as id.
Instead of our custom packageName + tag + scoped id.
2015-08-10 00:28:16 -07:00
Albert Vaca
a15b06cdc7 Minor fixes (mostly cosmetic) as per Android Lint analysis 2015-08-10 00:26:58 -07:00
Albert Vaca
64c8eb8767 Oops! 2015-08-09 22:44:26 -07:00
Albert Vaca
7a5e0aca73 Updated device names list as per [1]
[1] https://github.com/meetup/android-device-names/pull/4
2015-08-04 10:53:50 -07:00
Albert Vaca
6c3aedbbc3 Removed some icons we don't need 2015-08-04 10:53:35 -07:00
Albert Vaca
f715c0797b Merge branch 'master' of git://anongit.kde.org/kdeconnect-android 2015-08-02 12:57:28 -07:00
Albert Vaca
fb49f471fb Bumped Android Gradle plugin version 2015-08-02 01:22:43 -07:00
l10n daemon script
b601f6b3c5 SVN_SILENT made messages (after extraction) 2015-08-01 02:07:19 +00:00
Vineet Garg
6314e4217e Merge branch 'master' into netty 2015-07-19 22:11:20 +05:30
Vineet Garg
f7f00057c9 Fixed certificate fingerprint formatting 2015-07-19 19:10:09 +05:30
Vineet Garg
b084c8653e Show full hash
Certifcates shown are wrongly ordered
2015-07-19 04:34:14 +05:30
Vineet Garg
d1dc0ba2b2 Commit from pc 2015-07-18 18:57:09 +05:30
l10n daemon script
2c296c4d19 SVN_SILENT made messages (after extraction) 2015-07-14 02:30:21 +00:00
l10n daemon script
252bbb45d0 SVN_SILENT made messages (after extraction) 2015-07-11 02:01:33 +00:00
Vineet Garg
fd5063e7a7 Enabled multi dex 2015-07-01 03:29:40 +05:30
Vineet Garg
442c01a8e5 Added x86 and mips conscrypt libs
Pairing is now done through links
2015-07-01 03:25:16 +05:30
l10n daemon script
d9415eb0e9 SVN_SILENT made messages (after extraction) 2015-06-30 02:20:44 +00:00
Vineet Garg
72ad2e010c Try when adding security provider 2015-06-28 21:30:06 +05:30
Vineet Garg
67227f4aa0 Added conscrypt readme 2015-06-28 20:40:45 +05:30
Vineet Garg
d93eb5d71e Added conscrypt, open ssl based provider for android
Fixed some isssues in CR
2015-06-28 20:07:05 +05:30
l10n daemon script
861d98eeff SVN_SILENT made messages (after extraction) 2015-06-27 02:02:20 +00:00
Vineet Garg
aeb9a717d4 Removed some log statements, fixed issues 2015-06-25 19:54:37 +05:30
Vineet Garg
1b726018d3 Fixed bugs pointed out by Albert on CR 2015-06-25 04:20:03 +05:30
l10n daemon script
4bc5c7e1ae SVN_SILENT made messages (after extraction) 2015-06-23 02:23:32 +00:00
Vineet Garg
ed6aef42a6 Removed mina core from build.gradle 2015-06-21 17:50:56 +05:30
Vineet Garg
02826ccfe4 Modified build tools version 2015-06-21 17:47:40 +05:30
Vineet Garg
00557052ff Corrected unit tests
Settings were not save properly when certificate was null
Removed LanLinkProvider test, impossible with new design
2015-06-21 17:30:29 +05:30
Vineet Garg
7be045e7c4 Added global preference to use ssl or not in case ssl is not working on some devices 2015-06-20 22:57:11 +05:30
Vineet Garg
8128c42824 Added support to send payload over ssl 2015-06-20 20:54:39 +05:30
Vineet Garg
41100ad371 Merge branch 'master' into netty 2015-06-20 17:50:00 +05:30
Vineet Garg
00a4d39bf6 Added support to verify keys during pair 2015-06-20 17:48:58 +05:30
Vineet Garg
8084b92990 No ecnryption when link is on ssl 2015-06-20 04:21:30 +05:30
Vineet Garg
e14f5a0df1 Ssl support added
Showing high cpu usage on some devices
2015-06-20 04:09:02 +05:30
Vineet Garg
af548ae949 Removed Udp Channel from LanLinkProvider, had no use 2015-06-19 15:49:07 +05:30
l10n daemon script
e53e11a184 SVN_SILENT made messages (after extraction) 2015-06-19 02:14:47 +00:00
Vineet Garg
2f16656aa0 Initial netty implementation 2015-06-19 04:00:27 +05:30
l10n daemon script
79df72b80b SVN_SILENT made messages (after extraction) 2015-06-18 02:07:27 +00:00
l10n daemon script
64eeb98b8e SVN_SILENT made messages (after extraction) 2015-06-17 02:02:24 +00:00
Albert Vaca
fb5fdf752d Don't mangle stacktraces, so crash reports are useful again. 2015-06-15 23:01:09 -07:00
Albert Vaca
99a6578ce3 If both devices request pairing at the same time, we just pair.
The second device accepts the request instead of failing.
2015-06-15 09:03:38 -07:00
l10n daemon script
4e46d83853 SVN_SILENT made messages (after extraction) 2015-06-15 02:06:13 +00:00
Albert Vaca
b6b4850355 De-duplicated code 2015-02-01 00:08:49 -08:00
261 changed files with 10691 additions and 4000 deletions

View File

@@ -1,19 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.kde.kdeconnect_tp"
android:versionCode="808"
android:versionName="0.8h">
android:versionCode="1630"
android:versionName="1.6.3">
<uses-sdk android:minSdkVersion="9"
android:targetSdkVersion="22" />
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true"
/>
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
@@ -21,95 +20,100 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" android:required="false" />
<uses-permission android:name="android.permission.BATTERY_STATS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" android:required="false" />
<uses-permission android:name="android.permission.RECEIVE_SMS" android:required="false" />
<uses-permission android:name="android.permission.SEND_SMS" android:required="false" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
<application
android:allowBackup="true"
android:icon="@drawable/icon"
android:supportsRtl="true"
android:label="KDE Connect"
android:theme="@style/KdeConnectTheme"
>
<service
android:enabled="true"
android:name="org.kde.kdeconnect.BackgroundService">
android:name="org.kde.kdeconnect.BackgroundService"
android:enabled="true" >
</service>
<!--Commented here and in PluginFactory until we release a desktop version with this feature, so we don't get bad "feature not working" reviews-->
<!--
<service android:name="org.kde.kdeconnect.Plugins.RemoteKeyboardPlugin.RemoteKeyboardService"
android:label="KDE Connect Remote Keyboard"
android:permission="android.permission.BIND_INPUT_METHOD">
<intent-filter>
<action android:name="android.view.InputMethod" />
</intent-filter>
<meta-data android:name="android.view.im" android:resource="@xml/remotekeyboardplugin_method" />
</service>
-->
<activity
android:name="org.kde.kdeconnect.UserInterface.MainActivity"
android:label="KDE Connect" >
android:name="org.kde.kdeconnect.UserInterface.MaterialActivity"
android:label="KDE Connect"
android:theme="@style/KdeConnectTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="org.kde.kdeconnect.UserInterface.MainSettingsActivity"
android:label="@string/settings"
android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity"
>
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
</activity>
<activity
android:name="org.kde.kdeconnect.UserInterface.DeviceActivity"
android:label="@string/device"
android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity"
>
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
</activity>
<activity
android:name="org.kde.kdeconnect.UserInterface.PairActivity"
android:label="@string/pair_device"
android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity"
>
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
</activity>
<activity
android:name="org.kde.kdeconnect.UserInterface.SettingsActivity"
android:label="@string/device_menu_plugins"
android:parentActivityName="org.kde.kdeconnect.UserInterface.DeviceActivity"
>
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.DeviceActivity" />
android:parentActivityName="org.kde.kdeconnect.UserInterface.MaterialActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.MaterialActivity" />
</activity>
<activity
android:name="org.kde.kdeconnect.UserInterface.CustomDevicesActivity"
android:label="@string/custom_devices_settings"
android:parentActivityName="org.kde.kdeconnect.UserInterface.DeviceActivity"
>
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.DeviceActivity" />
android:name="org.kde.kdeconnect.UserInterface.CustomDevicesActivity"
android:label="@string/custom_devices_settings"
android:parentActivityName="org.kde.kdeconnect.UserInterface.MaterialActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.MaterialActivity" />
</activity>
<activity
android:name="org.kde.kdeconnect.Plugins.SharePlugin.SendFileActivity"
android:label="KDE Connect"
android:parentActivityName="org.kde.kdeconnect.UserInterface.MaterialActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.MaterialActivity" />
</activity>
<activity
android:name="org.kde.kdeconnect.UserInterface.PluginSettingsActivity"
android:label="@string/device_menu_plugins"
android:parentActivityName="org.kde.kdeconnect.UserInterface.SettingsActivity"
>
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:parentActivityName="org.kde.kdeconnect.UserInterface.SettingsActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.SettingsActivity" />
</activity>
<activity
android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareSettingsActivity"
android:label="@string/device_menu_plugins"
android:parentActivityName="org.kde.kdeconnect.UserInterface.SettingsActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.Plugins.SharePlugin.ShareSettingsActivity" />
</activity>
<receiver android:name="org.kde.kdeconnect.KdeConnectBroadcastReceiver">
<receiver android:name="org.kde.kdeconnect.KdeConnectBroadcastReceiver" >
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<data android:scheme="package" android:path="org.kde.kdeconnect" />
<data
android:host="kdeconnect"
android:path="/"
android:scheme="package" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
@@ -120,7 +124,8 @@
<intent-filter>
<action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
</intent-filter>
<!--<intent-filter>
<!--
<intent-filter>
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
<intent-filter>
@@ -128,50 +133,70 @@
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.BATTERY_CHANGED" />
</intent-filter>-->
</intent-filter>
-->
</receiver>
<activity
android:name="org.kde.kdeconnect.Plugins.FindMyPhonePlugin.FindMyPhoneActivity"
android:label="@string/findmyphone_title"
android:configChanges="orientation|screenSize"
android:excludeFromRecents="true"
android:launchMode="singleInstance">
</activity>
<!-- Plugin-related activities and services -->
<activity
android:name="org.kde.kdeconnect.Plugins.MprisPlugin.MprisActivity"
android:label="@string/remote_control"
android:parentActivityName="org.kde.kdeconnect.UserInterface.DeviceActivity"
android:parentActivityName="org.kde.kdeconnect.UserInterface.MaterialActivity"
>
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.DeviceActivity" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.MaterialActivity" />
</activity>
<activity
android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandActivity"
android:label="@string/remote_control"
android:parentActivityName="org.kde.kdeconnect.UserInterface.MaterialActivity"
>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.MaterialActivity" />
</activity>
<activity
android:name="org.kde.kdeconnect.Plugins.MousePadPlugin.MousePadActivity"
android:label="@string/remote_control"
android:windowSoftInputMode="stateHidden|adjustResize"
android:configChanges="orientation|keyboardHidden|screenSize"
android:screenOrientation="fullSensor"
android:parentActivityName="org.kde.kdeconnect.UserInterface.DeviceActivity"
>
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.DeviceActivity" />
android:label="@string/remote_control"
android:parentActivityName="org.kde.kdeconnect.UserInterface.MaterialActivity"
android:windowSoftInputMode="stateHidden|adjustResize" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="org.kde.kdeconnect.UserInterface.MaterialActivity" />
</activity>
<activity
android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareActivity"
android:label="KDE Connect"
>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>
</activity>
<service android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationReceiver"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
<service
android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationReceiver"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" >
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
@@ -186,6 +211,7 @@
android:value="org.kde.kdeconnect.UserInterface.PluginSettingsActivity" />
</activity>
</application>
</manifest>

View File

@@ -22,4 +22,4 @@ You can install this app from the [Play Store](https://play.google.com/store/app
## License
[GNU GPL v2](https://www.gnu.org/licenses/gpl-2.0.html) and [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.html)
If you are reading this from Github, you should know that this is just a mirror of the [KDE Project repo](https://projects.kde.org/projects/playground/base/kdeconnect-android/repository/).
If you are reading this from Github, you should know that this is just a mirror of the [KDE Project repo](https://projects.kde.org/projects/extragear/network/kdeconnect-android/repository/).

View File

@@ -7,7 +7,7 @@ function export_pot_file # First parameter will be the path of the pot file we h
{
potfile=$1
mkdir outdir
a2po export --android res/ --gettext outdir
ANSI_COLORS_DISABLED=1 a2po export --android res/ --gettext outdir
mv outdir/template.pot $potfile
rm -rf outdir
}
@@ -15,7 +15,9 @@ function export_pot_file # First parameter will be the path of the pot file we h
function import_po_files # First parameter will be a path that will contain several .po files with the format LANG.po
{
podir=$1
a2po import --ignore-fuzzy --android res/ --gettext $podir
ANSI_COLORS_DISABLED=1 a2po import --ignore-fuzzy --android res/ --gettext $podir
#Android doesn't support languages with an @
rm -r res/values-*@*
}

View File

@@ -3,18 +3,29 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.1.0'
classpath 'com.android.tools.build:gradle:2.3.0'
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion '22.0.1'
buildToolsVersion '25.0.2'
compileSdkVersion 25
defaultConfig {
minSdkVersion 9
targetSdkVersion 22
targetSdkVersion 22 //Bumping to >22 means we have to support the new permissions model
//multiDexEnabled true
//testInstrumentationRunner "com.android.test.runner.MultiDexTestRunner"
}
dexOptions {
javaMaxHeapSize "2g"
}
compileOptions {
// Use Java 1.7, requires minSdk 8
//SSHD requires mina when running on JDK < 7
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
sourceSets {
main {
@@ -32,35 +43,45 @@ android {
pickFirst "META-INF/DEPENDENCIES"
pickFirst "META-INF/LICENSE"
pickFirst "META-INF/NOTICE"
pickFirst "META-INF/BCKEY.SF"
pickFirst "META-INF/BCKEY.DSA"
pickFirst "META-INF/INDEX.LIST"
pickFirst "META-INF/io.netty.versions.properties"
}
lintOptions {
abortOnError false
checkReleaseBuilds false
}
buildTypes {
release {
debug {
minifyEnabled false
useProguard false
}
release { //keep on 'releae', set to 'all' when testing to make sure proguard is not deleting important stuff
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'
}
}
}
dependencies {
repositories {
mavenCentral()
}
compile 'com.android.support:support-v4:22.2.0'
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'org.apache.mina:mina-core:2.0.9'
compile 'org.apache.sshd:sshd-core:0.8.0'
compile 'org.bouncycastle:bcprov-jdk16:1.46'
compile 'com.android.support:support-v4:25.1.1'
compile 'com.android.support:appcompat-v7:25.1.1'
compile 'com.android.support:design:25.1.1'
compile 'org.apache.sshd:sshd-core:0.8.0' //0.9 seems to fail on Android 6 and 1.+ requires java.nio.file, which doesn't exist in Android
compile 'com.madgag.spongycastle:pkix:1.54.0.0' //For SSL certificate generation
// Testing
androidTestCompile 'org.mockito:mockito-core:1.10.19'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.1'// Because mockito has some problems with dex environment
androidTestCompile 'org.skyscreamer:jsonassert:1.3.0'
// Because mockito has some problems with dex environment
androidTestCompile 'com.google.dexmaker:dexmaker:1.1'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.1'
//compile fileTree(dir: 'libs', include: '*.jar')
}

281
icon.svg
View File

@@ -14,8 +14,11 @@
height="274.43201"
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="kdeconnect.svg">
inkscape:version="0.91 r"
sodipodi:docname="icon.svg"
inkscape:export-filename="/home/vaka/kdeconnect/kdeconnect-android/res/drawable-mdpi/icon.png"
inkscape:export-xdpi="15.741604"
inkscape:export-ydpi="15.741604">
<defs
id="defs4">
<linearGradient
@@ -65,18 +68,6 @@
offset="1"
id="stop4280" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient4153">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop4155" />
<stop
style="stop-color:#000000;stop-opacity:0"
offset="1"
id="stop4157" />
</linearGradient>
<linearGradient
id="linearGradient3994">
<stop
@@ -516,43 +507,6 @@
y2="967.36218"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-296.98485,-295.9747)" />
<filter
inkscape:collect="always"
id="filter3898"
x="-0.0093191492"
width="1.0186383"
y="-0.14599991"
height="1.2919998">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.91250003"
id="feGaussianBlur3900" />
</filter>
<filter
inkscape:collect="always"
id="filter3902">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.91250003"
id="feGaussianBlur3904" />
</filter>
<filter
inkscape:collect="always"
id="filter3935">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.5499999"
id="feGaussianBlur3937" />
</filter>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3994"
id="linearGradient4000"
x1="-61.213001"
y1="-85.49823"
x2="238.787"
y2="424.50177"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3994-1"
@@ -613,52 +567,6 @@
offset="1"
id="stop3998-2" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4153"
id="linearGradient4159"
x1="130"
y1="1052.3622"
x2="130"
y2="1032.3622"
gradientUnits="userSpaceOnUse" />
<filter
inkscape:collect="always"
id="filter4182"
x="-0.0093191487"
width="1.0186383"
y="-0.146"
height="1.292">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.91249998"
id="feGaussianBlur4184" />
</filter>
<filter
inkscape:collect="always"
id="filter4186">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.91249998"
id="feGaussianBlur4188" />
</filter>
<filter
color-interpolation-filters="sRGB"
inkscape:collect="always"
id="filter3935-5">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.5499999"
id="feGaussianBlur3937-7" />
</filter>
<filter
inkscape:collect="always"
id="filter4253">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.54999983"
id="feGaussianBlur4255" />
</filter>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4276"
@@ -680,7 +588,7 @@
gradientUnits="userSpaceOnUse"
gradientTransform="translate(415.17269,-239.40615)" />
<linearGradient
gradientTransform="matrix(1.5765306,0,0,1.5765306,-240.12657,-563.0272)"
gradientTransform="matrix(1.838244,0,0,1.760204,-248.41104,-733.67334)"
inkscape:collect="always"
xlink:href="#linearGradient4303-8"
id="linearGradient4309-4"
@@ -701,25 +609,6 @@
offset="1"
id="stop4307-0" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4022"
id="linearGradient4028"
x1="338.78699"
y1="-145.49823"
x2="388.78699"
y2="-25.498228"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.5765306,0,0,1.5765306,-382.12995,246.43833)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4022"
id="linearGradient4052"
x1="141.07115"
y1="130.60065"
x2="243.84538"
y2="130.60065"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4123"
@@ -839,45 +728,38 @@
offset="1"
id="stop3998-0" />
</linearGradient>
<filter
inkscape:collect="always"
id="filter4199">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="2.555"
id="feGaussianBlur4201" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#000000"
pagecolor="#ffffff"
bordercolor="#9d4f2f"
borderopacity="1"
inkscape:pageopacity="0.51372549"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="237.10108"
inkscape:cy="152.16765"
inkscape:zoom="2"
inkscape:cx="118.88075"
inkscape:cy="143.06055"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
showguides="true"
inkscape:guide-bbox="true"
inkscape:window-width="1366"
inkscape:window-height="713"
inkscape:window-x="0"
inkscape:window-y="-3"
inkscape:window-width="1920"
inkscape:window-height="1017"
inkscape:window-x="-4"
inkscape:window-y="0"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0">
fit-margin-bottom="0"
showborder="true">
<inkscape:grid
type="xygrid"
id="grid2985"
empspacing="5"
visible="true"
enabled="true"
enabled="false"
snapvisiblegridlinesonly="true"
originx="8.7869998px"
originy="9.9302358px" />
@@ -885,10 +767,6 @@
orientation="1,0"
position="8.7869998,239.93024"
id="guide2989" />
<sodipodi:guide
orientation="0,1"
position="201.787,265.93024"
id="guide2991" />
<sodipodi:guide
orientation="1,0"
position="263.787,-0.0697642"
@@ -899,11 +777,7 @@
id="guide2995" />
<sodipodi:guide
orientation="1,0"
position="118.787,309.93024"
id="guide4512" />
<sodipodi:guide
orientation="1,0"
position="158.787,289.93024"
position="263.787,296.98485"
id="guide4514" />
<sodipodi:guide
orientation="0,1"
@@ -911,20 +785,8 @@
id="guide3939" />
<sodipodi:guide
orientation="0,1"
position="148.787,89.930236"
position="-434.64286,137.14286"
id="guide3941" />
<sodipodi:guide
orientation="1,0"
position="223.787,174.93024"
id="guide3942" />
<sodipodi:guide
orientation="1,0"
position="203.787,179.93024"
id="guide3944" />
<sodipodi:guide
orientation="1,0"
position="63.787,39.930236"
id="guide4111" />
<sodipodi:guide
orientation="1,0"
position="128.787,19.930236"
@@ -938,7 +800,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
<dc:title></dc:title>
<dc:creator>
<cc:Agent>
<dc:title>Malcer</dc:title>
@@ -952,83 +814,31 @@
inkscape:groupmode="layer"
id="layer1"
transform="translate(8.7869998,-787.86042)">
<rect
style="opacity:0.5;fill:#000000;fill-opacity:1;stroke:none;filter:url(#filter4199)"
id="rect3908-2"
width="255"
height="256"
x="-7.9314225e-07"
y="796.36218"
rx="10"
ry="9.0819159"
transform="matrix(1.0053352,0,0,1.0053352,0.03271549,-4.2160417)" />
<rect
style="opacity:0.2;fill:#b3b3b3;fill-opacity:1;stroke:none"
id="rect3908-8"
width="259"
height="260"
x="-2"
y="794.36218"
rx="12"
ry="11.000009" />
<rect
style="fill:url(#linearGradient4000);fill-opacity:1;stroke:none"
id="rect3908"
width="255"
height="256"
x="8.7869997"
y="8.5017672"
transform="translate(-8.7869998,787.86042)"
rx="10"
ry="9.0819159" />
<rect
style="opacity:0.2;fill:url(#linearGradient4159);fill-opacity:1;stroke:none"
id="rect3908-1"
width="255"
height="229.99998"
x="0"
y="822.36218"
rx="10"
ry="9.0819159" />
<path
style="opacity:0.1;fill:#000000;fill-opacity:1;stroke:none"
d="m 33.787,244.50177 115,-219.999999 115,139.999999 0,90 0,0 0,0 c 0,0 0,-10 0,0 0,10 -10.11244,10 -10.11244,10 l -204.88756,0 z"
id="path4311"
inkscape:connector-curvature="0"
transform="translate(-8.7869998,787.86042)"
sodipodi:nodetypes="cccccczccc" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:none;opacity:0.2"
d="m 18.787,8.5017668 c 10,0 227,8.4e-6 235,4.2e-6 8,-4.2e-6 10,7 10,9 0,2 0,2 0,2 -1,-4 -5,-6 -8,-6 -82.05383,0 -156.925223,0 -239,0 -4,0 -7.014667,3.536667 -8.0000003,6 0,0 10e-8,-1 10e-8,-2 0,-1 0,-9.0000042 10.0000002,-9.0000042 z"
id="rect4116"
inkscape:connector-curvature="0"
sodipodi:nodetypes="zzzcccczz"
transform="translate(-8.7869998,787.86042)" />
<path
style="fill:#f2f2f2;fill-opacity:1;stroke:none"
d="m 27.883669,812.27851 110.357121,0 c 4.36699,0 7.88265,3.51567 7.88265,7.88266 l 0,39.41326 -9.45918,0 0,-36.2602 -107.204076,0 0,192.33677 107.204076,0 0,-156.07657 9.45918,0 0,165.53567 c 0,4.367 -3.51566,7.8827 -7.88265,7.8827 l -110.357121,0 c -4.367006,0 -7.882669,-3.5157 -7.882669,-7.8827 l 0,-204.94893 c 0,-4.36699 3.515663,-7.88266 7.882669,-7.88266 z"
style="fill:#f5f5f5;fill-opacity:1;stroke:none"
d="m 64.090487,801.86214 128.677053,0 c 5.09194,0 9.19121,3.92526 9.19121,8.80103 l 0,44.00509 -11.02945,0 0,-40.48469 -125.000587,0 0,214.74493 125.000587,0 0,-174.26024 11.02945,0 0,184.82144 c 0,4.8757 -4.09927,8.801 -9.19121,8.801 l -128.677053,0 c -5.091955,0 -9.191239,-3.9253 -9.191239,-8.801 l 0,-228.82653 c 0,-4.87577 4.099284,-8.80103 9.191239,-8.80103 z"
id="rect3099-1"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sssccccccccssssss" />
<rect
style="fill:#2d2d2d;fill-opacity:1;stroke:none"
id="rect3907-1"
width="107.20409"
height="192.33675"
x="29.460182"
y="823.31403"
width="125.0006"
height="214.7449"
x="65.928711"
y="814.18335"
rx="0"
ry="0" />
<rect
style="fill:#1a1a1a;fill-opacity:1;stroke:none"
id="rect3946-5"
width="31.530609"
height="1.5765324"
x="67.296921"
y="817.00793"
ry="0.78826618" />
width="35.204079"
height="1.760206"
x="110.82697"
y="807.14258"
ry="0.88010299" />
<g
transform="matrix(0.80336174,0,0,0.80336174,28.27591,877.43019)"
transform="matrix(0.99703783,0,0,0.99703783,60.422321,868.29896)"
id="g3764-6-1"
style="fill:#f2f2f2;fill-opacity:1">
<g
@@ -1048,20 +858,23 @@
</g>
<path
style="opacity:0.5;fill:url(#linearGradient4309-4);fill-opacity:1;stroke:none"
d="m 29.460184,823.31423 77.249996,0 13.39023,-0.95204 -76.27562,194.86531 -15.941137,0 z"
d="m 65.928713,814.18357 90.073947,0 15.61309,-1.06296 -88.937821,217.56809 -18.58746,0 z"
id="rect3907-9-4"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccc" />
<g
<path
style="opacity:0.4;fill:#ffffff;fill-opacity:1;stroke:none"
d="m 72.876953,14.001953 c -5.091955,0 -9.191406,3.925011 -9.191406,8.800781 l 0,2 c 0,-4.87577 4.099451,-8.800781 9.191406,-8.800781 l 128.677737,0 c 5.09194,0 9.1914,3.925011 9.1914,8.800781 l 0,-2 c 0,-4.87577 -4.09946,-8.800781 -9.1914,-8.800781 z"
transform="translate(-8.7869998,787.86042)"
style="font-size:144px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:url(#linearGradient4052);font-family:Nokia Pure Text;-inkscape-font-specification:Nokia Pure Text;stroke-width:7;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="text3247">
<path
d="m 175.48241,130.60064 c 0,-12.66854 -7.72782,-25.08374 -19.63624,-29.77109 -1.01349,-0.50675 -2.15367,-0.63344 -3.16714,-0.63344 -4.43399,0 -8.10788,3.54721 -8.10788,8.10788 0,9.62809 14.69552,6.96771 14.69552,22.29665 0,15.32892 -14.69552,12.66856 -14.69552,22.29665 0,4.56067 3.67389,8.10786 8.10788,8.10786 1.01347,0 2.15365,-0.12675 3.16714,-0.63341 11.90842,-4.81405 19.63624,-17.10257 19.63624,-29.7711 m 32.43149,0 c 0,-25.71712 -15.45564,-49.660734 -39.2725,-59.668882 -1.01349,-0.380054 -2.15365,-0.633418 -3.29383,-0.633418 -4.43399,0 -8.10787,3.673884 -8.10787,8.107876 0,3.547179 2.02697,5.95421 4.94073,7.474443 3.42051,1.773596 6.58766,3.293813 9.62811,5.574155 12.54186,9.121356 19.88962,23.690216 19.88962,39.145826 0,15.45561 -7.34776,30.02448 -19.88962,39.14582 -3.04045,2.28033 -6.2076,3.80056 -9.62811,5.57416 -2.91376,1.52023 -4.94073,3.92726 -4.94073,7.47444 0,4.43399 3.67388,8.10788 8.23456,8.10788 1.01349,0 2.15365,-0.25337 3.16714,-0.63344 23.81686,-10.00813 39.2725,-33.95173 39.2725,-59.66886 m 32.43149,0 c 0,-38.892415 -23.18348,-74.111022 -58.90875,-89.439944 -1.01349,-0.380071 -2.15365,-0.633435 -3.29383,-0.633435 -4.43398,0 -8.10786,3.673884 -8.10786,8.107877 0,3.673868 1.90028,5.700845 4.94072,7.474442 1.77359,1.013473 3.80057,1.646891 5.70086,2.66038 3.54718,1.900271 7.09439,4.053938 10.3882,6.460953 20.7764,15.328939 33.06492,39.525917 33.06492,65.369727 0,25.84382 -12.28852,50.04079 -33.06492,65.36973 -3.29381,2.40701 -6.84102,4.56066 -10.3882,6.46095 -1.90029,1.01349 -3.92727,1.64691 -5.70086,2.66039 -3.04044,1.7736 -4.94072,3.80058 -4.94072,7.47445 0,4.43399 3.67388,8.10787 8.10786,8.10787 1.14018,0 2.28034,-0.25338 3.29383,-0.63343 35.72527,-15.32892 58.90875,-50.54755 58.90875,-89.43996"
id="path3252"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccsssssccccssccsccssccccsscccscccsscc"
style="fill:url(#linearGradient4028);fill-opacity:1;stroke:url(#linearGradient4052);stroke-opacity:1;stroke-width:7;stroke-miterlimit:4;stroke-dasharray:none" />
</g>
id="path4295"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sscsscsss" />
<path
style="fill:#000000;fill-opacity:1;stroke:none;opacity:0.1"
d="m 63.685547,249.62891 0,2 c 0,4.8757 4.099451,8.80078 9.191406,8.80078 l 128.677737,0 c 5.09194,0 9.1914,-3.92508 9.1914,-8.80078 l 0,-2 c 0,4.8757 -4.09946,8.80078 -9.1914,8.80078 l -128.677737,0 c -5.091955,0 -9.191406,-3.92508 -9.191406,-8.80078 z"
id="path4300"
inkscape:connector-curvature="0"
sodipodi:nodetypes="csssscssc"
transform="translate(-8.7869998,787.86042)" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 28 KiB

15
proguard-rules.pro vendored
View File

@@ -16,13 +16,24 @@
# public *;
#}
-dontobfuscate
# Allow obfuscation of android.support.v7.internal.view.menu.**
# to avoid problem on Samsung 4.2.2 devices with appcompat v21
# see https://code.google.com/p/android/issues/detail?id=78377
-keep class !android.support.v7.internal.view.menu.**,** {*;}
-keepnames class !android.support.v7.internal.view.menu.**,android.support.v7.** {*;}
-dontwarn org.spongycastle.**
-dontwarn org.apache.sshd.**
-dontwarn org.apache.mina.**
-dontwarn org.bouncycastle.**
-dontwarn org.slf4j.**
-dontwarn io.netty.**
-keepattributes SourceFile,LineNumberTable,Signature,*Annotation*
-keep class org.spongycastle.** {*;}
# SSHd requires mina, and mina uses reflection so some classes would get deleted
-keep class org.apache.mina.** {*;}
-keep class org.kde.kdeconnect.** {*;}

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#FFFFFF" android:state_checked="true" />
<item android:color="#000000" android:state_checked="false" />
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 686 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 B

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 994 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 733 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

After

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 684 B

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 931 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 873 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 686 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Some files were not shown because too many files have changed in this diff Show More