There is a common pattern:
BackgroundService.RunCommand
getDevice check device != null getPlugin check plugin != null doCode
Add a helper for this pattern and port existing code
albertvaka |
KDE Connect |
There is a common pattern:
BackgroundService.RunCommand
getDevice check device != null getPlugin check plugin != null doCode
Add a helper for this pattern and port existing code
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |