Skip to content
  • Philip Cohn-Cort's avatar
    Better device controls · 548b636f
    Philip Cohn-Cort authored
    ## 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
    548b636f