mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
[fenix] Fix breaking AC change to support monochrome icons
This commit is contained in:
parent
242196ba69
commit
6fca4119f6
@ -4,9 +4,9 @@
|
||||
|
||||
package org.mozilla.fenix.customtabs
|
||||
|
||||
import android.app.Notification
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import androidx.core.app.NotificationCompat
|
||||
import mozilla.components.browser.session.Session
|
||||
import mozilla.components.browser.session.SessionManager
|
||||
import mozilla.components.concept.engine.manifest.WebAppManifest
|
||||
@ -23,12 +23,8 @@ class WebAppSiteControlsBuilder(
|
||||
|
||||
private val inner = SiteControlsBuilder.CopyAndRefresh(reloadUrlUseCase)
|
||||
|
||||
override fun buildNotification(
|
||||
context: Context,
|
||||
builder: NotificationCompat.Builder,
|
||||
channelId: String
|
||||
) {
|
||||
inner.buildNotification(context, builder, channelId)
|
||||
override fun buildNotification(context: Context, builder: Notification.Builder) {
|
||||
inner.buildNotification(context, builder)
|
||||
|
||||
val isPrivateSession = sessionManager.findSessionById(sessionId)?.private ?: false
|
||||
|
||||
|
@ -3,5 +3,5 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
object AndroidComponents {
|
||||
const val VERSION = "56.0.20200821184145"
|
||||
const val VERSION = "56.0.20200825130329"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user