2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00
Commit Graph

2867 Commits

Author SHA1 Message Date
l10n daemon script
f7b55e4416 GIT_SILENT Sync po/docbooks with svn 2023-01-03 02:57:06 +00:00
l10n daemon script
ff78fdfd59 GIT_SILENT made messages (after extraction) 2023-01-03 00:46:55 +00:00
Albert Vaca Cintora
8b01db3c34 Release 1.21.0 v1.21.0 2023-01-02 22:29:09 +01:00
Albert Vaca Cintora
25728eae18 If you use FINE_LOCATION you also should declare COARSE_LOCATION 2023-01-02 22:28:48 +01:00
Albert Vaca Cintora
dc7fc46e62 Revert "Comment out MouseReceiverPlugin"
This reverts commit a663f4d106.
2023-01-02 22:08:09 +01:00
Albert Vaca Cintora
2b1e4dcb23 Bump deps 2023-01-02 22:00:32 +01:00
Albert Vaca Cintora
97b7eb71cf Delete tests broken since 2019
I spent a few hours and couldn't fix them
2023-01-02 21:54:21 +01:00
Harry Cheng
bb0ab51d3b Do not send cancel packet from disabled apps 2023-01-02 16:08:04 +08:00
l10n daemon script
f503b18993 GIT_SILENT made messages (after extraction) 2023-01-02 01:00:29 +00:00
l10n daemon script
58e9a5d2b6 GIT_SILENT made messages (after extraction) 2023-01-01 00:56:32 +00:00
Albert Vaca Cintora
fd34e56675 Use registerNetworkCallback to listen to network changes
ConnectivityManager.CONNECTIVITY_ACTION was deprecated in Android 9
2022-12-31 00:35:08 +01:00
Albert Vaca Cintora
4be79b52ae Show a toast if keyboard input is not supported 2022-12-31 00:03:41 +01:00
Albert Vaca Cintora
028a2992c9 Bump deps 2022-12-30 23:58:13 +01:00
Albert Vaca Cintora
bdfc21cf64 Hopefully fix NPE 2022-12-29 18:51:12 +01:00
Albert Vaca Cintora
5225d0b200 Release 1.20.2 v1.20.2 2022-12-28 19:29:55 +01:00
Albert Vaca Cintora
54e5224f20 Fix minifier deleting "unused" xml that were actually used 2022-12-28 19:29:23 +01:00
Albert Vaca Cintora
6ab846cbbd Fix NPE 2022-12-28 17:31:52 +01:00
Albert Vaca Cintora
ea66605ef0 Fix crash on Android 7 2022-12-28 17:31:42 +01:00
Albert Vaca Cintora
c903c5d3fd Release 1.20.1
Untagged because it's for the play store only.
2022-12-28 00:26:58 +01:00
Albert Vaca Cintora
a663f4d106 Comment out MouseReceiverPlugin
The Play Store asks us a video showing why we need the accessibility
service, and I can't make it work so I can't record the video.
Removing this plugin removes the need for any accessibility permissions.
v1.20.1
2022-12-28 00:14:49 +01:00
Albert Vaca Cintora
1a79c3e77a Release 1.20 v1.20 2022-12-27 23:53:45 +01:00
Albert Vaca Cintora
6fbd923c60 Bump dependencies and targetSdkVersion
Motivation: We can't publish to the Play Store with a targetSdkVersion < 31

The new targetSdk required two changes:

* Specifying when activities, services and receivers should be exported or
  not to other apps. For the ones I wasn't sure of what we want, I made
  them exported to not break something.
* Specifying when a PendingIntent should be mutable or immutable. I made
  them all mutable for now.
2022-12-27 23:53:13 +01:00
l10n daemon script
f7b25bfaf7 GIT_SILENT Sync po/docbooks with svn 2022-12-26 02:16:12 +00:00
l10n daemon script
e61af6fa37 GIT_SILENT Sync po/docbooks with svn 2022-12-25 02:42:13 +00:00
Felix Fischer
9df91577d3 Add monochrome drawable (i.e. Android 13 themed icon)
## Summary

Since a lot of devices now have Android 13, some users might want support for the new themed app icons.
This adds support for these, by adding a monochrome drawable (just the default icon with only the phone border and K) in `res/drawable-v24/ic_launcher_monochrome.xml` and then referencing this in `res/minimap-anydpi-v26/ic_laucher(_round).xml`.

## Test Plan

This can be tested by simply compiling and installing the app as usual on any device running Android 13.
After installing the app, the option for an adaptive colour theme will need to be enabled:
- OneUI5: Long-press home screen > Wallpaper and Style > Colour palette > enable colour palette and check "Apply palette to app icons"
- Pixel: Long-press home screen > Wallpaper & style > check "Themed icons"

The app icon should now follow the system theme (on some devices only on home screen, on others both home screen and app drawer).

![Screenshot_20221204_231210](/uploads/75ec96d9a3b17486622e32148cfd775c/Screenshot_20221204_231210.png)
2022-12-19 22:12:03 +00:00
l10n daemon script
39ff1da82d GIT_SILENT Sync po/docbooks with svn 2022-12-15 02:14:58 +00:00
l10n daemon script
081bb4ebc8 GIT_SILENT Sync po/docbooks with svn 2022-12-14 02:40:53 +00:00
l10n daemon script
7f47dcf860 GIT_SILENT made messages (after extraction) 2022-12-11 00:46:45 +00:00
l10n daemon script
e5c976eeee GIT_SILENT Sync po/docbooks with svn 2022-12-08 02:10:14 +00:00
l10n daemon script
88b396b6f0 GIT_SILENT made messages (after extraction) 2022-12-04 00:45:55 +00:00
l10n daemon script
04067984ed GIT_SILENT Sync po/docbooks with svn 2022-12-03 02:07:49 +00:00
l10n daemon script
99d2f1b0df GIT_SILENT Sync po/docbooks with svn 2022-12-02 02:52:03 +00:00
l10n daemon script
f71d5b5e8c GIT_SILENT Sync po/docbooks with svn 2022-11-21 02:01:50 +00:00
l10n daemon script
5b346d9c7a GIT_SILENT Sync po/docbooks with svn 2022-11-20 02:31:18 +00:00
l10n daemon script
dd1aa4731d GIT_SILENT made messages (after extraction) 2022-11-19 00:45:11 +00:00
l10n daemon script
a941f2bf3a GIT_SILENT made messages (after extraction) 2022-11-17 00:45:23 +00:00
l10n daemon script
9ed7571e1d GIT_SILENT made messages (after extraction) 2022-11-16 00:46:27 +00:00
l10n daemon script
d9c2da2fdb GIT_SILENT made messages (after extraction) 2022-11-12 00:46:58 +00:00
l10n daemon script
4398d791a3 GIT_SILENT made messages (after extraction) 2022-11-11 00:45:24 +00:00
Simon Redman
c477cbe33c Fix lint errors in SMSHelper.java
## Summary

Clean up a bunch of lint errors in SMSHelper.java. Some of these are null issues which in theory might prevent a crash.

## Test Plan

No functional changes are expected. Fetching SMS still works for me.
2022-11-08 00:47:31 +00:00
Philip Cohn-Cort
a63d549739 Remove some unused imports
## Summary

Very basic maintenance MR to remove unused imports from code files.
2022-11-07 23:15:06 +00:00
l10n daemon script
d57072186a GIT_SILENT Sync po/docbooks with svn 2022-11-07 02:32:01 +00:00
l10n daemon script
10a7b50b0d GIT_SILENT made messages (after extraction) 2022-11-06 00:46:23 +00:00
l10n daemon script
d594f45914 GIT_SILENT made messages (after extraction) 2022-11-04 00:45:33 +00:00
l10n daemon script
45f557b0fe GIT_SILENT made messages (after extraction) 2022-11-03 00:45:43 +00:00
l10n daemon script
2448277211 GIT_SILENT made messages (after extraction) 2022-11-02 00:48:02 +00:00
l10n daemon script
817d00d2d8 GIT_SILENT Sync po/docbooks with svn 2022-11-01 02:04:45 +00:00
Yannik Sembritzki
9f9b565ce6 Separate persistent notification channel based on whether devices are connected
This allows users to selectively disable the persistent notification when no devices are connected.

BUG: 460927
2022-10-31 21:03:27 +00:00
Wojciech Matuszewski
70d70dcb33 Use a common thread pool instead of creating new threads manually
## Summary

Spawning new threads in Java is costly. This MR aims to use a common thread pool instead.

I've replaced all cases where a new thread is started just to perform a task in the background. This does not include cases where a reference to the newly created thread is kept as a part of application logic – this is probably a problem in itself, but it exceeds the scope of this quick optimization. ;) 

There was a couple of cases where a new thread was spawned just to sleep for a while an then change the state on a View on the main thread. I've replaced those with posting those deferred tasks to the View's message queue.

## Test Plan

Everything should work the same as it has before, just a bit faster and easier on the memory.
2022-10-31 20:59:17 +00:00
Arun Parolikkal
31d1882c6a Basic support for A12 colors
Colors don't work in some cards, menus and the hamburger menu

## Summary

I'm trying to make KDEConnect pull colours from the Material 3.0
wallpaper in Android 12. I've managed to do this to an extent by editing
the xml files in res/values*. There are, however, certain UI elements
that do not respond to the changes I've made, with no obvious files
where their colours may be changed.

## Screenshots

### The devices screen looks great (Except "KDE Connect Devices" in the
App bar isn't themed.)

![Screenshot_20211215-175156_KDE_Connect](/uploads/f00a03a9857a696acbf3ba14a0d01e23/Screenshot_20211215-175156_KDE_Connect.png)

### The hamburger menu has a white color in light mode. Don't know where
this is set and how to change it

![Screenshot_20211215-175206_KDE_Connect](/uploads/349b2bf72596a388e445f7462672b358/Screenshot_20211215-175206_KDE_Connect.png)

### Three dot menu has a white colour

![Screenshot_20211215-175210_KDE_Connect](/uploads/4a3204de26233ac3f6ea612358e9387d/Screenshot_20211215-175210_KDE_Connect.png)

### Add new devices looks good too
![Screenshot_20211215-175221_KDE_Connect](/uploads/78db4cd796ba31bfb763b9e2fae6e216/Screenshot_20211215-175221_KDE_Connect.png)

### Not the popup menus though

![Screenshot_20211215-175225_KDE_Connect](/uploads/a0fb8dbf4c0cc1fd3a2774d5ff8fda00/Screenshot_20211215-175225_KDE_Connect.png)

### Cards in the About section are still white

![Screenshot_20211215-175235_KDE_Connect](/uploads/18d1b3337af45eb7c9bcb157a0b34357/Screenshot_20211215-175235_KDE_Connect.png)

### Dark mode works fine

![Screenshot_20211215-175255_KDE_Connect](/uploads/3c2777e3f97ab7f377c6ace8b83297f2/Screenshot_20211215-175255_KDE_Connect.png)

### But again, some UI elements like the hamburger menu aren't themed.

![Screenshot_20211215-175302_KDE_Connect](/uploads/2ea118e6a352bcf4d5dc8760495d7b12/Screenshot_20211215-175302_KDE_Connect.png)

I'll keep trying to figure out how to make these elements to their
proper colours, but I've done a lot of searching through the source and
couldn't figure out how. I'm absolutely new to Android development. Help
please.

## Test Plan

For the changes made thus far, none are needed.
2022-10-31 16:43:18 -04:00