Implement locked Gaia lock screen

RESOLVED FIXED

Status

B2GDroid Graveyard
General
RESOLVED FIXED
2 years ago
a year ago

People

(Reporter: sgiles, Unassigned)

Tracking

(Depends on: 2 bugs)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
The Gaia lock screen, when on, should also lock Android "chrome" if possible.
(Reporter)

Updated

2 years ago
Depends on: 898348
(Reporter)

Updated

2 years ago
Assignee: nobody → sgiles
(Reporter)

Comment 1

2 years ago
Created attachment 8673318 [details] [diff] [review]
bug1212535-lockscreen-v1.patch

Work in progress patch - I was trying to get the GeckoView to load something other than shell.html.  However I was getting an error in the logs:

`E/GeckoConsole(17021): [JavaScript Error: "NS_ERROR_XPC_GS_RETURNED_FAILURE: Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" {file: "chrome://b2g/content/b2gdroidlockscreen.js" line: 11}]`

I probably haven't registered the component correctly (can't find any docs either).
Flags: needinfo?(fabrice)
Looks like you forgot to add LockScreenSetup.js to mobile/android/b2gdroid/installer/package-manifest.in
Flags: needinfo?(fabrice)
(Reporter)

Comment 3

2 years ago
This is pretty difficult while the GeckoView doesn't support multiple instances.

We can try this again once bug 1191028 has been implemented.
(Reporter)

Updated

2 years ago
Assignee: sgiles → nobody
Depends on: 1191028

Updated

a year ago
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.