Closed Bug 1798617 Opened 2 years ago Closed 2 years ago

GeckoAppShell.isTablet always returns false

Categories

(GeckoView :: General, defect, P3)

All
Android
defect

Tracking

(firefox-esr102 unaffected, firefox106 wontfix, firefox107 wontfix, firefox108 wontfix, firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox106 --- wontfix
firefox107 --- wontfix
firefox108 --- wontfix
firefox109 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

When running GeckoView, HardwareUtils.init isn't called unfortunately since GeckoLoader.getLoadDiagnostics is dead code. So we should clean up HardwareUtils then isTablet returns correct value.

Assignee: nobody → m_kato

Since GeckoLoader.getLoadDiagnostics is never called, HardwareUtils isn't
initialized. It means that GeckoAppShell.isTablet always return false.

So HardwareUtils should be initialized.

Also, a lot of codes in HardwareUtils and GeckoLoader.getLoadDiagnostics
are unused, so let's clean up.

Severity: -- → S4
Priority: -- → P3
Regressed by: 1529082

Set release status flags based on info from the regressing bug 1529082

S4 and we are in RC week, wontfix 106.

Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/98e6995b698a GeckoAppShell.isTablet returns correct value. r=geckoview-reviewers,owlish

Set release status flags based on info from the regressing bug 1529082

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch

The patch landed in nightly and beta is affected.
:m_kato, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox108 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(m_kato)

This fix is risky for beta.

Flags: needinfo?(m_kato)
Regressions: 1809221
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: