commit | 373eca430109b16c12cdd8b95434ad9a58220e1b | [log] [tgz] |
---|---|---|
author | Anthony Stange <stange@google.com> | Wed May 27 16:02:16 2020 -0400 |
committer | Anthony Stange <stange@google.com> | Wed May 27 16:02:16 2020 -0400 |
tree | 0e00176e19b36f0373606f3ae4738e0827e5be66 | |
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