Change getDeviceEnterpriseInfo to purely async
getDeviceEnterpriseInfo() could run callbacks synchronously if a result is cached. This could lead some reentrancy problems for consumers of the class. This CL modified getDeviceEnterpriseInfo() to always run callbacks asynchronously. Testing: Built and ran Chrome(ium) on a managed Android emulator and observed that "EnterpriseCheck.IsFullyManaged2" indicates managed. Bug: 1120955 Change-Id: I122ecbc07946129220776de063a224d5173f1540 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2385640 Commit-Queue: Steven Bingler <bingler@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Reviewed-by:
Eric Orth <ericorth@chromium.org> Reviewed-by:
Sky Malice <skym@chromium.org> Cr-Commit-Position: refs/heads/master@{#804016}
Showing
Please register or sign in to comment