summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-02-28 13:25:36 -0800
committer Siarhei Vishniakou <svv@google.com> 2023-03-04 21:51:07 +0000
commitfd0a68e34b72b7a1daa07f0e5ed0a167d596a343 (patch)
tree96160d4a5d04fc1ca850f0244cec681e3defdd8f /libs/gui/LayerState.cpp
parentd3fbc898a508441a7fe2796a260ada810da5d415 (diff)
Use current directory to load prediction model
Before this CL, the testing binary could not execute properly when invoked directly. This is because the current working directory does not get set. To fix this, use the model file from /system/etc when __ANDROID__ is defined, and refer to the current directory for all other cases. Test: m libinput_tests && $ANDROID_HOST_OUT/nativetest64/libinput_tests/libinput_tests Test: atest libinput_tests Test: atest --host libinput_tests Bug: 271134652 Change-Id: I0547ca9666eab153208a581fb60f6bef656b946a
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions