Skip to content
Commit f896f125 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Avoid service wrapper initialization deadlock.

- Don't initialize a service wrapper with the cache lock held.
- Instead, use AtomicInteger to avoid instantiating the same service
multiple times.

Test: build, boot, presubmit
Bug: 71882178

Change-Id: Iea4207b855043addac4d24381778babf8eedd84d
parent 983c1e54
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment