2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-22 01:51:47 +00:00

9 Commits

Author SHA1 Message Date
Albert Vaca Cintora
fd51ec7c14
Fix linter warnings 2025-04-05 00:44:08 +02:00
Albert Vaca Cintora
ba98e21d40
Make every pending intent immutable except the one for the widget
The widget runs as part of the launcher (so, a different app) which needs
to modify the intent to tell us what command the user selected.
2024-10-08 22:18:58 +02:00
Philip Cohn-Cort
548b636f32 Better device controls
## Summary

This contains some minor code quality improvements in
`RunCommandControlsProviderService`, as well as the following feature changes:

* If the device for a Device Control is reachable, clicking on the secondary
  space of the control will launch RunCommandActivity. If the device isn't
  reachable, we launch the MainActivity like usual.
* Pixel 7 and other modern Google devices can now show KDE Connect commands
  in the 'Home' quick access tile (you still have to 'add app')

## Test Plan

0. Make sure your Android OS supports Device Controls (Android 11+)
1. Choose a paired device to work with
2. Place at least one command in the Run Command list
3. Enable the command in the Device Controls screen
4. Test what happens when you click on the secondary space of the control
2023-10-23 21:58:08 +00:00
Albert Vaca Cintora
6fc5ae66b8 Add license headers to files missing it 2023-06-05 12:21:15 +02:00
Albert Vaca Cintora
337433000c More logging 2023-06-05 10:36:02 +02:00
Albert Vaca Cintora
afd4219732 More code review changes 2023-06-04 17:22:34 +00:00
Albert Vaca Cintora
7d3cf9690a Rename RunCommandWidgetConfig -> RunCommandWidgetConfigActivity 2023-06-04 17:22:34 +00:00
Albert Vaca Cintora
a977b6da17 Improvements from code review 2023-06-04 17:22:34 +00:00
Albert Vaca Cintora
11634b2cde Allow having widgets for more than once device
Rewrites the RunCommand widget. Now we can have different widgets for
different devices at the same time. Also removes the startService call
that could cause ForegroundServiceStartNotAllowedException on API 12+.
2023-06-04 17:22:34 +00:00