commit | 0bbb90aa8b62ffa339c50120f3dabb32f0af28b2 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Tue Oct 31 05:51:55 2023 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue Oct 31 05:51:55 2023 +0000 |
tree | f988cafeeff2331fa2a7d8bcb42cfd1ae71b31b3 | |
parent | b1d5f322dd99496fe5ab4ef240f9220bbcc92634 [diff] |
Use requestNetwork for mobile data, not a callback Original change: https://r.android.com/2685607 On devices that do not have always active mobile data, it needs to be requested for onAvailable to be called. Without this fix, the test module pre-checks will be very flaky (or mostly fail) on devices that have mobile_data_always_on disabled. Bug: 291019029 (cherry picked from commit fbf487934be66ba96054ffdcc016e20315d09135 with merge conflicts: file has moved) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ded1f8b3dee26c24510a108742bc34f2b37a7a05) Merged-In: Ie0d6d47524f1b5a52921e0dadd2f7fd3d00a8dcd Change-Id: Ie0d6d47524f1b5a52921e0dadd2f7fd3d00a8dcd