diff options
author | Alex Chau <alexchau@google.com> | 2018-01-17 18:26:03 +0000 |
---|---|---|
committer | Alex Chau <alexchau@google.com> | 2018-01-19 15:17:00 +0000 |
commit | 2c082aeeb7410e8341e57562b8e1bad8e88300ec (patch) | |
tree | 33137b62656027676bcc7fc762b0f4b42632101f /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | cfd1b4b263da8fac7bda724fae0e42e618256871 (diff) |
Notify device owner when user is started / stopped / switched
- Similar to onUserAdded / onUserRemoved, notify DPC when user is started / stopped / switched, as these operation is asynchronous.
Use cases:
1. As a asynchronous callback for startUserInBackground / stopUser / logoutUser / switchUser
2. For COMP, can be used to detect work mode turning on or off
Bug: 72092112
Test: com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_StopOnStart
Test: com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_LogoutOnStart
Change-Id: I6fa28711419053694131d7792f3e0d1d2e76ac29
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions