Move the boot_completed FGS check

..after resetting the fgRequired flag to fix the
ForegroundServiceDidNotStartInTimeException issue
for the FGS start failure cases.

Bug: 317561300
Change-Id: Ic4c85e1209e244c84c3036c310ed2a1254fd2d04
Test: atest CtsAppTestCases
1 file changed