Fixing automatic switching of night mode if network location is not enabled.

The current implementation does not take care of location changes in the case
the network location is not enabled. The fix will use the passive location provider
to receive any location updates (gps and network) and using the network location
provider to trigger the passive provider.

Change-Id: I851bb1ff90e9103712a0e741528a6dfa5d4353c8
1 file changed