Synchronize when writing AppOpsService.mUidStates to file

also ensured no other place accesses mUidStates unsynchronized

Fixes: 137528177
Test: presubmit
Change-Id: I82ea6a277f61d4c053664bc59370a9f66ffd3963
1 file changed