Fix defaultServiceManager() locking and retry loop.

Use a static instead of double-checked locking.

Bug: 142838845
Test: builds
Change-Id: I0b42539cae70a70c6a23798c27f6b088bb5d3b40
2 files changed