commit | 5b5978a28ae702dbcd45a5c739408633e972a09c | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Jan 07 14:27:50 2021 -0800 |
committer | Kweku Adams <kwekua@google.com> | Thu Jan 07 14:27:50 2021 -0800 |
tree | 7531256705f6b4ae0ca9e946ebee7138ba21304c | |
parent | 7e8ae00d9c855d15d6bdddcadd0a5563bb4e0b64 [diff] |
Reverse order of operations. We were checking if the network is available before checking if the job would even be ready with connectivity. It's better to do things in the opposite order. Bug: 176987520 Test: atest CtsJobSchedulerTestCases Test: atest FrameworksMockingServicesTests:ConnectivityControllerTest Change-Id: I09a3bd190262c013824f3a4478debe28bc5f7d8d