Closed Bug 1533194 Opened 6 years ago Closed 4 years ago

Remove dependency from palette-v7 in GeckoView

Categories

(GeckoView :: General, enhancement, P2)

Unspecified
All
enhancement

Tracking

(firefox87 fixed)

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: agi, Assigned: agi, Mentored)

References

(Blocks 1 open bug)

Details

(Whiteboard: [geckoview:m88])

Attachments

(1 file)

We probably don't need this dependency and causes a lot of headaches to people that use different versions of the support library.

:nalexander says that this might only be used in Fennec.

https://searchfox.org/mozilla-central/rev/fbb251448feb7276f9b1d0a88f9c0cb1cd144ce4/mobile/android/geckoview/build.gradle#

Mentor: agi

P2 if this causes problems for other developers using GV, not a high priority unless it impacts Fenix or FFTV.

Priority: -- → P2

We don't use this dependency for Fennec, but for GV we use it in BitmapUtils, which we use to get the dominant colour for Themes. We can remove for Fennec, no problems, but if this is an issue should we find another method for getting the dominant colour for GV or just leave it in?

Flags: needinfo?(agi)

I think the idea would be to find another way to do that (e.g. we could just port that little piece of code inside GV if it's workable).

Flags: needinfo?(agi)
Rank: 40

Looks like BitmapUtils is basically not unused anymore.

Assignee: nobody → agi
Whiteboard: [geckoview:m88]
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a3e891811b75 Remove palette dependency and unused BitmapUtils. r=esawin
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Regressions: 1692281
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: