Create an class so native code can query Java's EnterpriseInfo
Create a native class that other classes can use to query ownership state of the Android device from the Java side EnterpriseInfo. This class provides a function that accepts a callback. When this function is called the callback is stored in a list and a request to the Java side is made. If any more requests are received they are stored in the list while we wait on the response from the Java side. Once the Java side response is received all callbacks stored in the list are run. Bug: 1085168 Change-Id: I49429d13f9a407e3650fe265d4e010e7e169ee68 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2268657 Commit-Queue: Steven Bingler <bingler@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Reviewed-by:
Eric Orth <ericorth@chromium.org> Cr-Commit-Position: refs/heads/master@{#782997}
Showing
Please register or sign in to comment