commit | 1d3acf930f1e5620b072d3f63c8368d887d57ade | [log] [tgz] |
---|---|---|
author | Jeremy Joslin <jjoslin@google.com> | Wed Dec 03 17:15:28 2014 -0800 |
committer | Jeremy Joslin <jjoslin@google.com> | Fri Dec 05 14:58:04 2014 -0800 |
tree | fbc2943e25fc87e083fcd95978aeec5b1f82432f | |
parent | c1529548aaae68d2e1d5558dd7f490f81a76d958 [diff] |
Don't send the same PendingIntent more than once. Fixing a bug where a NetworkRequest's PendingIntent can be sent more than once when networks are rematched before the intent completes. Added a small delay before removing the request to give the receiving client an opportunity to put in its own request. The delay value is configurable via Settings.Secure. Bug: 18614074 Change-Id: Iac7c5e5a04f42f2b6794e9e22349cc631bebeab7