diff options
| author | 2020-04-01 11:58:43 -0700 | |
|---|---|---|
| committer | 2020-04-01 19:19:56 +0000 | |
| commit | 6eb75be73c6e368a8c2b9293b125b669429030f7 (patch) | |
| tree | 98f22ea8b32401e6334ed72b39884602cd8ac0f9 /opengl/libagl/array.cpp | |
| parent | 8a7ec57d045258e2d84beffd4e7d03f6b95e26e4 (diff) | |
Fail on flush if no sensors are found
According to the SensorManager API, flush() is intended to return
false when no sensor is registered with the listener. Modify the
implementation to be consistent with the API contract, since no
flush command was successfully issued in this case.
Bug: 74395023
Test: Compile
Change-Id: I7e671c870aa684be54b7a5163052aac5258c0c86
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions