Fixed
Status Update
Comments
bl...@google.com <bl...@google.com>
bl...@google.com <bl...@google.com>
an...@google.com <an...@google.com> #2
for example, many different devices return the same longitude and latitude.such as : longitude is 121.474000 and latitude is 31.230001.
i donnot understand why is the data the same?
i donnot understand why is the data the same?
mo...@google.com <mo...@google.com> #3
the fractional part of the location data is exactly the same.
Description
It seems NewApi linter does not understand if I assign
isAtleastU() && otherCondition()
to theprivate final boolean foo
in the constructor and haveif(foo) {//call U API}
.Linter was happy if I use local variable.
Actual code I hit this issue is that NewApi linter was not happy with patchset 16 but happy with patchset 17.
https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2764846/16..17/service/src/com/android/server/ConnectivityService.java
Linter was not happy with(patchset 16)
But Linter was happy with(patchset 17)
Also, Linter was happy with