Skip to content
Commit f0bdc872 authored by Soonil Nagarkar's avatar Soonil Nagarkar
Browse files

Fix framework crash

Catch the correct exception on transport failure (CancelledException for
PendingIntents). This leads to a crash in very rare race conditions (a
location must be in the process of being delivered to the given
PendingIntent at almost the exact moment that it is canceled, such that
the canceled notification reaches the PendingIntent implementation
before it reaches the location service, and the location is delivered
after the notification reaches the PendingIntent implementation but
before it reaches the location service.

Bug: 198558226
Test: presubmits
Change-Id: I20d30b534781c3aee805d80e66048a04e79a530c
parent a2276a43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment