defaultServiceManager locks before check.

A 64-bit write may not be atomic (may not be contain in one instruction),
hence the read without the lock may be unsafe in very rare cases.

Test: pass
Test: boots
Change-Id: I8abc011c1ca039671a184afab84cf1174f38e2a8
1 file changed