commit | 4cb61898020f0c5458a7081e32ebf369b970a30b | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Mon Jun 28 07:27:47 2021 +0000 |
committer | Remi NGUYEN VAN <reminv@google.com> | Tue Jun 29 07:07:28 2021 +0000 |
tree | 32ce71ec4754d1610a595cd391060c74bbe1b957 | |
parent | 64168015f13395517b48a199b8364244f8f0a623 [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 Original-Change: https://android-review.googlesource.com/1748153 Merged-In: Id7343a4cc020aba16b7979b16334721c56b2839c Change-Id: Id7343a4cc020aba16b7979b16334721c56b2839c