Fix FileOperationService starts foreground service failed.
Service#startForeground cannot use zero notification id. Changing NOTIFICATION_ID_PROGRESS to 1. And use null tag for foreground job notification. Merged-In: I74f7e6e30a49766b31e88e2f9253654e3a1d0336 Change-Id: I74f7e6e30a49766b31e88e2f9253654e3a1d0336 Fixes: 68392600 Fixes: 79779288 Fixes: 123985594 Test: Manually check if service destroy while copying job Test: atest DocumentsUITests:FileOperationServiceTest (cherry picked from commit 08ffd04d8ec143306c39a73fc5e648fa490cfb38)
Loading
Please register or sign in to comment