Closed Bug 1206291 Opened 9 years ago Closed 9 years ago

Audit Themed*

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1105081

People

(Reporter: mcomella, Unassigned)

References

Details

Chenxia pointed out some potentially issues in bug 1201346 comment 7:

(In reply to Chenxia Liu [:liuche] from comment #7)
> Comment on attachment 8660110 [details]
> MozReview Request: Bug 1201346 - Make menu button have LWT on phones.
> r=liuche
> 
> https://reviewboard.mozilla.org/r/19077/#review17637
> 
> Looks good, this matches the ShapedButton implementation pretty well, but
> there seems to be some cargo-culting throughout all of these ThemedViews. Do
> you think we should file a bug to audit this code? Some of it just doesn't
> make sense, but I guess it works well enough right now?
> 
> ::: mobile/android/base/toolbar/ShapedButtonFrameLayout.java:25
> (Diff revision 1)
> > +    public void onLightweightThemeChanged() {
> 
> Digging through this code, we never ever call setTheme or resetTheme, which
> is weird because it's implemented in the super.
> 
> ::: mobile/android/base/toolbar/ShapedButtonFrameLayout.java:44
> (Diff revision 1)
> > +    public void onLightweightThemeReset() {
> 
> Maybe we should call through to the super here too.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.