commit | 1e238a87e9b31be9a08d41ec8d76ad68d82f665c | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Fri Jun 25 16:38:05 2021 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Mon Jun 28 09:14:30 2021 +0900 |
tree | 6b39ae0c1c3e2956ad11d9588b3112e584591582 | |
parent | ef34fd2e21ced33d54534edbf40980c0297a6d0b [diff] |
Fix null PendingIntent in network listens In S ConnectivityService was changed to use getActiveRequest() to fill EXTRA_NETWORK_REQUEST, but there is no active request in the case of listens. When getActiveRequest() is missing, use the first mRequest instead. This should match previous behavior. Bug: 191713869 Test: atest android.net.cts.ConnectivityManagerTest Change-Id: Id7343a4cc020aba16b7979b16334721c56b2839c