diff options
| author | Peng Xu <pengxu@google.com> | 2017-07-17 16:40:50 -0700 | 
|---|---|---|
| committer | Dan Albert <danalbert@google.com> | 2017-08-02 14:48:02 -0700 | 
| commit | 77a61e5a2e53f3659504b1bbdba5cba8cd756eae (patch) | |
| tree | 135e7c803978a9aae0867c84f1bbf13cdc95c577 /opengl/tests/gl_basic/gl_basic.cpp | |
| parent | dfdc1559f224c2ec81d3957ba7ce3e337abc67d6 (diff) | |
Add android version guard to ASensorManager_getInstanceForPackage
This function is added to header file since 2015 but the corresponding
function is not exported through libandroid.map file until O. Thus,
it make sense to gate the usage to ANDROID_O and forward.
ASensorManager_getInstance is deprecated accordingly.
Bug: 63639195
Test: compiles
Change-Id: Ib2fdb635ffca9ec629dd487bd377aaa98afa4359
(cherry picked from commit 477db44043140dc6f4e7497a760061aefe472df2)
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
