Closed Bug 711184 Opened 13 years ago Closed 13 years ago

make sure we don't do any work creating about:home if we're not showing about:home

Categories

(Firefox for Android Graveyard :: General, defect, P2)

ARM
Android
defect

Tracking

(firefox11 fixed, fennec11+)

RESOLVED FIXED
Tracking Status
firefox11 --- fixed
fennec 11+ ---

People

(Reporter: blassey, Assigned: blassey)

Details

(Whiteboard: [inbound])

Attachments

(1 file, 2 obsolete files)

the OS constructs the about:home content even if we're not showing it, I want to confirm that we're not hitting the history and bookmark DBs when we're not showing about:home because we're launched with a URI
Attached patch patch (obsolete) — Splinter Review
this makes sure we don't hit the DBs if we're not showing about:home
Assignee: nobody → blassey.bugs
Attachment #582291 - Flags: review?(doug.turner)
Attached patch patch (obsolete) — Splinter Review
Attachment #582291 - Attachment is obsolete: true
Attachment #582291 - Flags: review?(doug.turner)
Attachment #582372 - Flags: review?(doug.turner)
Comment on attachment 582372 [details] [diff] [review] patch Review of attachment 582372 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/AboutHomeContent.java @@ +169,2 @@ > GeckoAppShell.getHandler().post(new Runnable() { > public void run() { Is the spacing off between inflater.* and GeckoAppShell ::: mobile/android/base/GeckoApp.java @@ +977,4 @@ > > public void run() { > mAutoCompletePopup.hide(); > + if (mAboutHomeContent == null && mShow) { Do you need the mShow test here?
Attachment #582372 - Flags: review?(doug.turner) → review+
> > > > public void run() { > > mAutoCompletePopup.hide(); > > + if (mAboutHomeContent == null && mShow) { > > Do you need the mShow test here? That's the part that keeps us from constructing the about:home view until its going to be shown
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
brad, this crashes on ICS. I backed it out. https://hg.mozilla.org/mozilla-central/rev/a5e63e00db27
No longer blocks: 707326
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
ine 185 mTopSitesGrid is null. not sure if onFinishInflate is being called. only ics.
Priority: -- → P2
Attached patch patchSplinter Review
Attachment #582372 - Attachment is obsolete: true
Attachment #583059 - Flags: review?(doug.turner)
Attachment #583059 - Flags: review?(doug.turner) → review+
turns out there are two gecko_app.xml's now. Fixed and re-landed on inbound https://hg.mozilla.org/integration/mozilla-inbound/rev/feaccb6a4c35
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
tracking-fennec: --- → 11+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: