Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 37e7405d authored by kaiyiz's avatar kaiyiz Committed by Gerrit - the friendly Code Review server
Browse files

Settings: Fix disabling "location" service from widget is not working issue

It's an original issue. The "location" service has four mode,
When click "location" service from widget, will change the current
mode to next mode, rather than just turn off the location service.
So will cause "location" from widget can not be disabled.

Change the code that if current location mode is LOCATION_MODE_HIGH
_ACCURACY or LOCATION_MODE_BATTERY_SAVING, will change the mode to
LOCATION_MODE_OFF after click "location" from widget. This modify
is the same with settings location switch.

Change-Id: I1f6f67c657fe166490def72f11f16ea255f22dd3
CRs-Fixed: 789030
parent 43c4e3d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment