Remembers previous location mode when location off
Multipart CL. Must be submitted together with ag/821599 Bug: 25608291 Change-Id: Ibfa39ba9b844421cd86a5aa4266e4389534f16be
This commit is contained in:
@@ -569,7 +569,7 @@ public class SettingsAppWidgetProvider extends AppWidgetProvider {
|
||||
mode = Settings.Secure.LOCATION_MODE_OFF;
|
||||
break;
|
||||
case Settings.Secure.LOCATION_MODE_OFF:
|
||||
mode = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY;
|
||||
mode = Settings.Secure.LOCATION_MODE_PREVIOUS;
|
||||
break;
|
||||
}
|
||||
Settings.Secure.putInt(resolver, Settings.Secure.LOCATION_MODE, mode);
|
||||
|
Reference in New Issue
Block a user