Closed Bug 1352131 Opened 7 years ago Closed 7 years ago

Crash in java.lang.NoSuchMethodError: android.widget.ImageButton.<init> at org.mozilla.gecko.customtabs.CustomTabsActivity.onCreatePanelMenu(CustomTabsActivity.java)

Categories

(Firefox for Android Graveyard :: General, defect)

Unspecified
Android
defect
Not set
critical

Tracking

(firefox52 unaffected, firefox-esr52 unaffected, firefox53 unaffected, firefox54 unaffected, firefox55 fixed)

RESOLVED FIXED
Firefox 55
Tracking Status
firefox52 --- unaffected
firefox-esr52 --- unaffected
firefox53 --- unaffected
firefox54 --- unaffected
firefox55 --- fixed

People

(Reporter: jchen, Assigned: walkingice)

References

Details

(Keywords: crash)

Crash Data

This bug was filed from the Socorro interface and is 
report bp-61f2812d-e3dc-4bc4-ae85-995372170329.
=============================================================

The ImageButton constructor with 4 parameters [1] was introduced in API 21, so it crashes in previous versions.

[1] https://dxr.mozilla.org/mozilla-central/rev/272ce6c2572164f5f6a9fba2a980ba9ccf50770c/mobile/android/base/java/org/mozilla/gecko/customtabs/CustomTabsActivity.java#215
Flags: needinfo?(walkingice0204)
Assignee: nobody → walkingice0204
Flags: needinfo?(walkingice0204)
This bug should be fixed in Bug 1348718, I already use another way to build View in this patch[1].

[1] https://reviewboard.mozilla.org/r/127678/diff/3#index_header
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.