Fixed
Status Update
Comments
qi...@gmail.com <qi...@gmail.com> #2
Just to make sure I understand the request, you want LatLng coordinates translated to
absolute pixel coordinates? Is that correct?
absolute pixel coordinates? Is that correct?
ke...@gmail.com <ke...@gmail.com> #3
Filing the feature request, but please confirm my question above.
ha...@google.com <ha...@google.com> #4
Yes, absolute pixel coordinates.
Description
I think there is a bug in com.android.server.am.ActiveServices(ActiveServices.java).
In void stopInBackgroundLocked(int uid), Line 599 - 602 says:
if (stopping == null) {
stopping = new ArrayList<>();
stopping.add(service);
}
I think it should be:
if (stopping == null) {
stopping = new ArrayList<>();
}
stopping.add(service);
The original code only add the first service to the stopping list, which caused this problem, and this makes Line 607's iteration meaningless, cause there will be no more than one ServiceRecord in the stopping list.