diff options
| author | Darryl L Johnson <darryljohnson@google.com> | 2021-07-23 17:06:17 -0700 |
|---|---|---|
| committer | Kenneth Ford <kennethford@google.com> | 2021-08-20 20:59:05 +0000 |
| commit | 7dde391fc1153d008b1bc84d40a184ace6667ca3 (patch) | |
| tree | 78b02476a3d6ffe685234f6291323d1492968938 /opengl/tests/gl_basic/gl_basic.cpp | |
| parent | a5ab448ff0bfe59b92abe8f5f0864bd0e3429ba4 (diff) | |
Allow override requests to outlive the requesting process.
This change introduces a flag, FLAG_CANCEL_STICKY_REQUESTS, on the
device states that are provided by the DeviceStateProvider. If the flag
is set on a device state it indicates that the device state should
cancel any outstanding sticky requests when entered. If at least one
device state is configured to be a terminal device state (has the flag
set) the service will be configured to allow sticky requests, otherwise
requests will continue to be cancelled when the requesting process dies.
Fixes: 192671286
Test: atest DeviceStateManagerServiceTest
Test: atest DeviceStateProviderImplTest
Test: atest DeviceStateTest
Test: atest OverrideRequestControllerTest
Change-Id: I7a6bdc9334342fa818920b56a4f0c22629bb101f
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
