Merge "Fix framework crash" into sc-qpr1-dev

This commit is contained in:
Soonil Nagarkar
2021-09-02 22:50:00 +00:00
committed by Android (Google) Code Review

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();