diff options
author | Anthony Stange <stange@google.com> | 2020-05-27 16:02:16 -0400 |
---|---|---|
committer | Anthony Stange <stange@google.com> | 2020-05-27 16:02:16 -0400 |
commit | 373eca430109b16c12cdd8b95434ad9a58220e1b (patch) | |
tree | 0e00176e19b36f0373606f3ae4738e0827e5be66 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 37d85827da3a9137d5b00e67e7d0f4917fc73b45 (diff) |
Ensure Java code verifies hinge angle sensor is wakeup
Previously, only the NDK enforced the default sensor type was wakeup and
if an app called the Java APIs it'd get a null value if there was only a
wakeup version of the hinge sensor.
Bug: 157581504
Test: Run on emulator and verify that getDefaultSensor returns the
sensor instance
Change-Id: Ica13c70a456780891f366394848e4c649f6ea70b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions