Merge "Fix setType() return value for high angle sensor" am: 5a2d80de45 am: 89d18e94e4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436893 Change-Id: I5d4a833884e9c732b9f96cd0ca6f72a889b89254
This commit is contained in:
@@ -1245,6 +1245,7 @@ public final class Sensor {
|
||||
return true;
|
||||
case TYPE_HINGE_ANGLE:
|
||||
mStringType = STRING_TYPE_HINGE_ANGLE;
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user