Skip to content

Commit

Permalink
For mozilla-mobile#11229: Update ETP cfr string and behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarare committed Jun 5, 2020
1 parent 1dbd1cc commit c391dcd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import android.graphics.drawable.ColorDrawable
import android.view.Gravity
import android.view.LayoutInflater
import android.view.View
import android.view.View.INVISIBLE
import android.view.ViewGroup
import android.widget.ImageView
import androidx.core.view.isGone
import androidx.core.view.isVisible
Expand Down Expand Up @@ -100,7 +98,8 @@ class TrackingProtectionOverlay(
it.setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
}

val etpShield = getToolbar().findViewById<View>(R.id.mozac_browser_toolbar_tracking_protection_indicator)
val etpShield =
getToolbar().findViewById<View>(R.id.mozac_browser_toolbar_tracking_protection_indicator)
trackingOnboardingDialog.message.setOnClickListener {
trackingOnboardingDialog.dismiss()
etpShield.performClick()
Expand Down

0 comments on commit c391dcd

Please sign in to comment.