commit | 7929484dbf0f6eda75641f8b965d3ed5fa1fed52 | [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 | cedc66bd807a25097e08990c1b6052f63a7568ff | |
parent | 0c1a5bea2eb897b3f1d34b9c25ea6ed0bd5ca6eb [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