Merge "[LockSetup] Hide back button in notification interstitial" into mnc-dev
diff --git a/src/com/android/settings/SetupRedactionInterstitial.java b/src/com/android/settings/SetupRedactionInterstitial.java
index c6437e0..d3d841e 100644
--- a/src/com/android/settings/SetupRedactionInterstitial.java
+++ b/src/com/android/settings/SetupRedactionInterstitial.java
@@ -28,6 +28,7 @@
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
+import android.widget.Button;
/**
* Setup Wizard's version of RedactionInterstitial screen. It inherits the logic and basic structure
@@ -82,7 +83,8 @@
final NavigationBar navigationBar = layout.getNavigationBar();
navigationBar.setNavigationBarListener(this);
- navigationBar.getBackButton().setEnabled(false);
+ final Button backButton = navigationBar.getBackButton();
+ backButton.setVisibility(View.GONE);
SetupWizardUtils.setImmersiveMode(getActivity());
return layout;
}