Add back foregroundServiceType="dataSync" to FtpService#4378
Conversation
Fixes #4377 crash when starting FtpService
|
Verified with device, it's fixed with this patch. |
If you can verify on device, and code is up to standard, then you should officially approve as a reviewer. |
I can verify the pull request with Android phone, you can add me as the reviewer, thanks. I am a heavy daily Amaze user and I often build it from the pull request for the latest feature or fix. Ftp server is the main usage for me to transfer the files between Linux and macOS machines with Adroid phone. |
thanks for your long term support! + the nice words. :) |
Description
To fix crash when starting FtpService by declaring
foregroundServiceType="dataSync"Issue tracker
Fixes #4377
Manual tests
Done
Pixel 3 emulator running stock Android 9
Pixel 7 emulator running stock Android 15
Both devices could start FtpService from the FtpServerFragment or through tile without crashing the app.
Build tasks success
Successfully running following tasks on local:
./gradlew assembledebug./gradlew spotlessCheck