Merge "Fix setType() return value for high angle sensor" am: 5a2d80de45 am: 89d18e94e4 am: 1e97e64bf2 am: a57b4b75c5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436893 Change-Id: I4a6974cab2f97b5c9f2a550c99857788592f3db1
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