Index: mobile/android/base/widget/ContentSecurityDoorHanger.java |
=================================================================== |
--- a/mobile/android/base/widget/ContentSecurityDoorHanger.java |
+++ b/mobile/android/base/widget/ContentSecurityDoorHanger.java |
@@ -68,17 +68,19 @@ public class ContentSecurityDoorHanger e |
try { |
final String linkLabel = link.getString("label"); |
final String linkUrl = link.getString("url"); |
addLink(linkLabel, linkUrl); |
} catch (JSONException e) { } |
} |
final JSONObject trackingProtection = options.optJSONObject("tracking_protection"); |
- if (trackingProtection != null) { |
+ // We don't want to show the tracking protection hanger. |
+ // See https://issues.adblockplus.org/ticket/5194 |
+ if (false) { |
mTitle.setVisibility(VISIBLE); |
mTitle.setText(R.string.doorhanger_tracking_title); |
try { |
final boolean enabled = trackingProtection.getBoolean("enabled"); |
if (enabled) { |
mMessage.setText(R.string.doorhanger_tracking_message_enabled); |
mSecurityState.setText(R.string.doorhanger_tracking_state_enabled); |
mSecurityState.setTextColor(ColorUtils.getColor(getContext(), R.color.affirmative_green)); |