From 4145e508d86b8d2d76f26c039fd718d16d7363b2 Mon Sep 17 00:00:00 2001 From: Norbel AMBANUMBEN Date: Wed, 5 Jun 2024 22:40:12 +0100 Subject: [PATCH] feat: remove automatic update from `NMS` app --- .../openobservatory/ooniprobe/activity/OverviewActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java b/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java index 95ba919a5..8be0ea0b8 100644 --- a/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java +++ b/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java @@ -161,6 +161,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { binding.uninstallLink.setVisibility(View.GONE); binding.revisionsContainer.setVisibility(View.GONE); binding.headerContainer.setVisibility(View.GONE); + binding.automaticUpdatesContainer.setVisibility(View.GONE); } } else { @@ -168,6 +169,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { /** * We need to set the height to 0 because the layout is broken when the view is gone */ + binding.automaticUpdatesContainer.setVisibility(View.GONE); binding.automaticUpdatesContainer.getLayoutParams().height = 0; }