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
2 files changed