Closed Bug 1236692 Opened 4 years ago Closed 4 years ago

Create activity to open browser settings

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set

Tracking

(Not tracked)

RESOLVED WORKSFORME
2.6 S5 - 1/15

People

(Reporter: rakhavan, Assigned: rakhavan)

References

Details

(Whiteboard: [systemsfe])

User Story

As a developer I want the ability to open the "Settings > Browsing Privacy" pane from other apps.
No description provided.
Blocks: 1236667
Blocks: 1236687
No longer blocks: 1236667
Whiteboard: [systemsfe]
Target Milestone: --- → 2.6 S5 - 1/15
Assignee: nobody → rakhavan
I thought we'd need to create a new activity for this. Turns out we can simply fire:

```
new MozActivity({
  name: 'configure',
  data: {
    target: 'device',
    section: 'browsingPrivacy'
  }
})
```

Firing this results in an overlay of the section of settings requested (in this case Browsing Privacy). You can either hit the back button to return to the previous app or hit the home button which takes you back to the homescreen.

Do we need something different than this?
Flags: needinfo?(mhenretty)
r+
Flags: needinfo?(mhenretty)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.