commit | 92f16dc6ad656d1de53434015f18537bd349b66a | [log] [tgz] |
---|---|---|
author | Bruno Martins <bgcngm@gmail.com> | Sat Apr 18 15:58:41 2020 +0100 |
committer | Bruno Martins <bgcngm@gmail.com> | Sun Apr 19 01:10:04 2020 +0100 |
tree | 469d91b65286f9c6c745e90df7d5ea0d3f79ee1d | |
parent | 011b5e951a253b3cc186f6556fd537ee9b98c1e1 [diff] |
LocationSettingsActivity: Account for deprecated location modes LOCATION_MODE_HIGH_ACCURACY, LOCATION_MODE_SENSORS_ONLY and LOCATION_MODE_BATTERY_SAVING are deprecated. Take one further step and refactor the entire logic to call LocationManager#setLocationEnabledForUser(boolean, int) instead of setting location mode and LocationManager#isLocationEnabled() to check if location is enabled. Change-Id: Ibe1930902f6bfff99eb2c2d852ab600620e25f08