effacfa75b
Bug: 14993295 Hooks up a ConnectivityManager.NetworkActiveListener. Previously was using 3 locks where 1 would suffice, negligible to no performance issues b/c most of the previous locks were nested. Added OnNetworkActiveListener so that the ConnectivityController can kick of tasks when it knows that the network is active. Fixed some bugs that stopped timecontroller from executing tasks. Requesting a retry will not add a deadline to that task. However backed-off tasks are run as soon as they are ready, subject to their constraints. Added receiver to listen for package removal and user removal, which will delete any outstanding jobs for that uid. Change-Id: I4c4523af558b927f19b8a215878fcc7198abb93f