Merge "Fix framework crash" into sc-qpr1-dev am: ad28fe0efb am: 796530eae6 am: 06b08aff8d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15748726

Change-Id: I5c614869c1362d9112a76bcf34420c163ae21dab
This commit is contained in:
Soonil Nagarkar
2021-09-02 23:28:36 +00:00
committed by Automerger Merge Worker

View File

@@ -1078,7 +1078,7 @@ public class LocationProviderManager extends
}
private void onTransportFailure(Exception e) {
if (e instanceof RemoteException) {
if (e instanceof PendingIntent.CanceledException) {
Log.w(TAG, mName + " provider registration " + getIdentity() + " removed", e);
synchronized (mLock) {
remove();