Use synchronization when accessing mPackages state

In the context of this bug, enableComponentLPw was concurrently
 modifying arraylist.

Test: manual - multiple reboots
Bug: 64986285
Change-Id: Ifab137c9572a2eb4ec7417309f6674a08425833c
1 file changed