commit | 51fdbe36b1fc29759dee104730861e6d30272187 | [log] [tgz] |
---|---|---|
author | juanjuan.hou <juanjuan.hou@unisoc.com> | Wed Aug 05 10:31:38 2020 +0800 |
committer | robertchou <robertchou@google.com> | Thu Aug 06 21:14:04 2020 +0800 |
tree | 8783f80e5fd9f7b1c8fa1eb694fa6260924b1399 | |
parent | ff08abcbe678ba2562cf66661940649ab4163aa5 [diff] |
Replace waitForBroadcastIdle with explicit polling Because removeUserState() is executed in a new thread, the current function cannot accurately determine whether the user restrictions is removed. So replace waitForBroadcastIdle() on the host side with polling on the device side to ensure that the user restrictions has been removed Bug: 162454669 Change-Id: I3097daa7775354242cfc066b81fa05c16a114091