Closed Bug 1233684 Opened 8 years ago Closed 6 years ago

Prompt a warning dialog when GPS is turned ON in the modem irregularly

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lchang, Unassigned)

References

Details

According to bug 1222899 comment 16, we should prompt a warning in Gaia to notify the users that GPS is turned ON in the modem which is not a regular behavior.

As the patch in that bug, we will receive "prompt: true" in the "geolocation-status" event payload.
Hi Harly,

There's a case that GPS may be turned ON automatically by modem. A location tracking icon in statusbar seems not prominent enough to notify users of this so we'd like to prompt an alert dialog as well.

For this reason, we may need UX to define the message in the dialog. Thanks in advance.
Flags: needinfo?(hhsu)
Hi Alphan & Ya-Chieh,
It would be really helpful if you two can help and provide more context as to when and why does this prompt show up, this will help me to come up with more precise message for the user in the prompt.

Thanks
Flags: needinfo?(ywu)
Flags: needinfo?(hhsu)
Flags: needinfo?(alchen)
Harly and Luke, thanks for helping!
 
This case is a special scenario that the GPS is not turned ON by any launched applications. According to bug 1201778 comment 66 mentions, GPS engine is ON directly by the modem. This context goes with the event of an emergency to locate mobile phones. When the users use their phone to call emergency number, the GPS is able to be turned ON by the modem.

At this point, the GPS engine is not ON by our OS but as our OS notices to this event we still want to inform the users that their GPS is turned ON in an emergency.
Flags: needinfo?(ywu)
Flags: needinfo?(alchen)
Does this mean that in the prompt, we will ask user whether to share his/her location, or we just want to notify user that his/her location will be shared?
Flags: needinfo?(ywu)
Hey Harly, nop, we don't ask the permission! This is more like an mandatory way to turn ON the GPS engine. We just need to notify the users that GPS is ON. You can imagine that the users call emergency number but they don't know how to describe their location. So there is a way for emergency authority to turn ON the GPS by the modem.
Flags: needinfo?(ywu)
By the way, the GPS engine is turned ON by the modem is also not operating by us. 
Our OS is just noticing this event and want to maybe notify our user that GPS is ON under some unknown cases. 

The the Verizon carrier compliance test turns ON the GPS because of the emergency case. But we don't really sure if this is the only case. That's why we want to prompt a warning to the users.
I see, in this case, does it make sense to just use the SUPL NI notify prompt message like the one below?

Dialog title: Location Request
Dialog content: Your location is being transmitted to the operator.
(In reply to Harly Hsu[:harly] from comment #7)
> I see, in this case, does it make sense to just use the SUPL NI notify
> prompt message like the one below?
> 
> Dialog title: Location Request
> Dialog content: Your location is being transmitted to the operator.

Since SUPL NI support isn't in master now, we can use this prompt message in this case first.
We will discuss this prompt message more(the combination of SUPL NI and this bug) when phasing in SUPL NI to master.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.