Flight mode status of GPS does not return to enabled

REPRODUCIBILITY: 100%
OS VERSION: 4.4.0.58
HARDWARE: Xperia 10 ii
UI LANGUAGE: fr_FR
REGRESSION: no idea

DESCRIPTION:

When the GPS Powered property in connman is false, it stays false over a round-trip into flight mode.

PRECONDITIONS:

Set the Powered property of the GPS to false in connman with devel-su dbus-send --system --print-reply --dest=net.connman /net/connman/technology/gps net.connman.Technology.SetProperty string:Powered variant:boolean:false

STEPS TO REPRODUCE:

  1. check that the Powered property is false with dbus-send --system --print-reply --dest=net.connman /net/connman/technology/gps net.connman.Technology.GetProperties
  2. open the setting page an enter flight mode. Check that the Powered property is still false.
  3. exit flight mode.

EXPECTED RESULT:

The Powered property should be set back to true.

ACTUAL RESULT:

The Powered property is still false.

MODIFICATIONS:

Pristine image as far as I can tell.

ADDITIONAL INFORMATION:

If for whatever reason the Powered property goes to false, there is no way to put it back to true through the GUI, disabling completely the GPS without understanding of what is going on.

As a side note, this may be by design in the sense that the flight mode is restoring the previous state of the Powered property, but this keeps the issue that there is no way to set it to true from the GUI, whatever put it to false before.

Thanks for the bug report @dcaliste. We’ve now got an internal bug report about this too, and I’ve tagged your report as “tracked”.