[components] Merge https://github.com/mozilla-mobile/android-components/pull/7438...
commit39f2c7cdcfe9e507a799130789557445837edaf8
authorMozLando <skaspari+mozlando@mozilla.com>
Tue, 23 Jun 2020 21:33:49 +0000 (23 21:33 +0000)
committerMozLando <skaspari+mozlando@mozilla.com>
Tue, 23 Jun 2020 21:33:49 +0000 (23 21:33 +0000)
treed30d0e901c8ed08e47745941fd2323907ab694d1
parent6d6f76c5f2551e936b8447219316cc9ccdf75b22
parent833d633e0d24cb3fb06331f5b4ed5c03027f1e9a
[components] Merge https://github.com/mozilla-mobile/android-components/pull/7438 https://github.com/mozilla-mobile/android-components/pull/7466 (part 1)

7438: Custom relation checker r=jonalmeida a=NotWoods

Builds off https://github.com/mozilla-mobile/android-components/pull/7436

The Digital Asset Links relation checker is now exposed to the server, so it can be customized. Apps using A-C can choose to use the pre-existing Google API code, or switch to the new local code that fetches with our HTTP client. They can also pass null to turn off this feature.

The API Key and HTTP client properties are now passed directly to the relation checker instance.

7466: Add asEffect helper to browser menu highlight r=psymoon a=NotWoods

Breaking this out from the main menu2 PR.

Co-authored-by: Tiger Oakes <toakes@mozilla.com>