Closed Bug 918432 Opened 11 years ago Closed 11 years ago

Operator apps are installed at a fixed position even when the SIM wasn't present at first boot

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:koi+, b2g-v1.2 verified)

VERIFIED FIXED
blocking-b2g koi+
Tracking Status
b2g-v1.2 --- verified

People

(Reporter: macajc, Assigned: macajc)

References

Details

(Whiteboard: [systemsfe])

Attachments

(2 files)

STR: 
1. Flash a new phone with a build that has a GAIA_DISTRIBUTION_DIR which include some local apps (apps that must be installed only on certain SIMs
2. Boot the phone without introducing the SIM (or with a SIM that is PIN-locked, without entering the PIN).
3. After the FTU is done, shutdown the phone, introduce the SIM (if it wasn't present) and reboot

Expected: The local operator apps are installed at the end of their desired page (as the last icon of their configured pages).

Actual: The local operator apps are installed at their configured position. If there's any other icon there already, it's moved back.
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.

[Approval Request Comment]
[Bug caused by] feature (installing single variant apps without a sim present at first boot)
[User impact] if declined: user might have configured his homescreen and he would lose his personalization
[Testing completed]: The patch includes unit tests
[Risk to taking this patch] (and alternatives if risky): Very low
[String changes made]: None
Attachment #807336 - Flags: review?(fernando.campo)
Attachment #807336 - Flags: approval-gaia-v1.2?
Component: Gaia::System → Gaia::Homescreen
Attachment #807336 - Flags: review?(21)
Fixing flags from the bug clone
No longer blocks: 893807
Depends on: 893807
No longer depends on: 893800
Keywords: feature
Whiteboard: [ucid:System10, FT:systems-fe, KOI:P2][systemsfe] → [systemsfe]
Attachment #807336 - Flags: review?(21) → review?(crdlc)
You have some comments on github
I update the PR with the review comments, can you please review it again?
Comment on attachment 807336 [details]
Install the apps at the end of their desired screen or the first screen after that with space when the SIM isn't present at first boot

You have three comments on Github

Thanks a lot and Great work!
Attachment #807336 - Flags: review?(crdlc) → review+
Comment on attachment 807336 [details]
Install the apps at the end of their desired screen or the first screen after that with space when the SIM isn't present at first boot

Stealing review :)
Attachment #807336 - Flags: review?(fernando.campo) → review?(francisco.jordano)
Comment on attachment 807336 [details]
Install the apps at the end of their desired screen or the first screen after that with space when the SIM isn't present at first boot

Please rebase before commiting :)

Thanks a lot!
F.
Attachment #807336 - Flags: review?(francisco.jordano) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 893807
No longer depends on: 893807
blocking-b2g: - → koi+
I was not able to uplift this bug to v1.2.  If this bug has dependencies which are not marked in this bug, please comment on this bug.  If this bug depends on patches that aren't approved for v1.2, we need to re-evaluate the approval.  Otherwise, if this is just a merge conflict, you might be able to resolve it with:

  git checkout v1.2
  git cherry-pick -x -m1 f8b8d253112843d68fd542786f0a5d13428e2e88
  <RESOLVE MERGE CONFLICTS>
  git commit
Flags: needinfo?(cjc)
Comment on attachment 807336 [details]
Install the apps at the end of their desired screen or the first screen after that with space when the SIM isn't present at first boot

Removing approval flag since this is koi+, which means it can automatically land.
Attachment #807336 - Flags: approval-gaia-v1.2?
Attached file Patch for v1.2
Please Carmen review it because there are tones of conflicts and I am not comfortable uplifting without the author's review. Thanks
Attachment #814755 - Flags: review?(cjc)
Attachment #814755 - Attachment description: Patch v1 → Patch for v1.2
Comment on attachment 814755 [details]
Patch for v1.2

r+ per comments on Github
Attachment #814755 - Flags: review?(cjc) → review+
(In reply to Cristian Rodriguez (:crdlc) from comment #12)
> Landed in v1.2
> 
> https://github.com/mozilla-b2g/gaia/commit/
> 5ef3535021286ccab7af639897feaaf5955720a0

Please make sure you set the status-b2g-v1.2 flag when landing directly on branch.
Ok, thanks a lot and my apologies for my mistake
Flags: needinfo?(cjc)
Keywords: verifyme
QA Contact: jsmith
Verified on 1.2 - comment 0's expected behavior is now confirmed working.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: