After OTA the user is not prompted for their passccode

NEW
Unassigned

Status

Firefox OS
Gaia::System::Lockscreen
2 years ago
2 years ago

People

(Reporter: KTucker, Unassigned)

Tracking

(Blocks: 1 bug, {foxfood})

unspecified
ARM
Gonk (Firefox OS)
foxfood

Firefox Tracking Flags

(blocking-b2g:2.6?, b2g-master affected)

Details

(Whiteboard: [2.6-Daily-Testing][Spark], URL)

Attachments

(1 attachment)

Created attachment 8683317 [details]
logcat_20151104_1303.txt

After the user performs an OTA, they are shown the tutorial screens again. After the tutorial screens, they are taken directly to the home screen without being prompted for their passcode.

Prerequisite:
Data and WiFi are turned on and the update channel is set to nightly-latest

Repro Steps:
1) Update a Flame to the v18D v4 base image 20150527010201
2) Go into settings>Screen Lock and toggle on "Passcode Lock".
3) Set a passcode.
4) Download the system update and install it.
5) After OTA, skip the tutorial and observe.

Actual:
The user is taken directly to the homescreen and they are not prompted for their passcode.

Expected:
The user is prompted for their passcode.

Before OTA:
Device: Flame 2.5
Build ID: 20150527010201
Gaia: 8ca93673869a64e09ed6153c5402896822dfb253
Gecko: ff2e07228041
Gonk: 040bb1e9ac8a5b6dd756fdd696aa37a8868b5c67
Version: 41.0a1 (2.5)
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0

After OTA:
Device: Flame 2.6 (KK)(512mb)
Build ID: 20151104030208
Gaia: 47da49f8206788d70d834c3a63d9245d50c89103
Gecko: 6077f51254c69a1e14e1b61acba4af451bf1783e
Gonk: 040bb1e9ac8a5b6dd756fdd696aa37a8868b5c67
Version: 45.0a1 (2.6)
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0

Repro frequency: 5/5
See attached: Video, logcat
(Reporter)

Updated

2 years ago
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(jmercado)
Whiteboard: [2.6-Daily-Testing][Spark]
This is also occurs on the Aries 2.6

The user is prompted for their passcode before going to the homescreen.

Before OTA:
Device: Aries 2.5
BuildID: 20150619225606
Gaia: 4c06ed88ddccaba8dc941e5006bd2a9e57306f07
Gecko: 7c1a6b1151a1539186b950a144387e2d7f378d1b
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 41.0a1 (2.5) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0

After OTA:
Device: Aries 2.6
Build ID: 20151030120435
Gaia: 91cac94948094cfdcd00cba5c6483e27e80cb3b0
Gecko: c2534acb485963331d67bbc5c07f0d862ed56bf5
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 45.0a1 (2.6)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0

I cannot check Aries or Flame 2.5 since those builds are not present on the upgrade channel.
status-b2g-master: --- → affected
If the user leaves their phone while it updates, someone else could have unlocked access to it.
blocking-b2g: --- → 2.6?
Flags: needinfo?(jmercado)
(Reporter)

Updated

2 years ago
Blocks: 1221802
(Reporter)

Updated

2 years ago
No longer blocks: 1221802
Keywords: foxfood
Can we check a 2.2 -> 2.5 upgrade as well?
Keywords: qawanted
This issue is also reproducible going from Flame 2.2 to Flame 2.5. After OTA, dismissing the 'That's it' dialog, user is being brought to Homescreen directly without going through passcode when user had that enabled before OTA.
Flags: needinfo?(jmercado)
Keywords: qawanted
Blocks: 1224750
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmercado)
You need to log in before you can comment on or make changes to this bug.