Skip to content
Commit 22ce5e5d authored by Hai Zhang's avatar Hai Zhang
Browse files

Run performInitialGrantsIfNecessaryAsync() on main thread.

performInitialGrantsIfNecessaryAsync() is already made asynchronous,
so it is no longer necessary to post it to a thread pool. After this
change both this method and onRemoveUser() can run on the main thread,
so that we won't run into a race condition with a destroyed user
state.

Bug: 130738316
Test: presubmit
Change-Id: I9f6e4d9badddf5396c5a9aee683b67739c82884a
parent 30550e1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment