diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2017-11-14 11:43:40 -0800 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2017-11-14 11:44:42 -0800 |
commit | 4c72df04b0ab32e88fb9bc7fb9f109c3d59bce5f (patch) | |
tree | 2df1371a6225a2c8923b01ba2778cd40f632deaf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c8e3c7c816a4d9de42579df11d9302e117070ea1 (diff) |
Fix StrictMode I/O violations
onBeforeUnlockUser now happens on a worker thread that allows I/O.
In addition to that STATE_RUNNING_UNLOCKING is only set after
onBeforeUnlockUser. Otherwise non-DBA processes would be able to start
before unlocking completes (causing b/68995913)
Recents are now loaded on a worker thread
Bug: 68872660
Bug: 68871386
Test: UserControllerTest
Test: Tested on marlin/walleye (+factory reset)
Test: create/start work profile. create/start guest user
Change-Id: I4694dfa0bd523de33f0e600f2db22d02610b535c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions