am ab82d2fd
: am 9fab5c1d
: Merge "[LockSetup] Hide back button in notification interstitial" into mnc-dev
* commit 'ab82d2fdf982a3f0cd596a2703955311bb0ca6a2': [LockSetup] Hide back button in notification interstitial
This commit is contained in:
@@ -28,6 +28,7 @@ import android.os.Bundle;
|
|||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
import android.widget.Button;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setup Wizard's version of RedactionInterstitial screen. It inherits the logic and basic structure
|
* Setup Wizard's version of RedactionInterstitial screen. It inherits the logic and basic structure
|
||||||
@@ -82,7 +83,8 @@ public class SetupRedactionInterstitial extends RedactionInterstitial {
|
|||||||
|
|
||||||
final NavigationBar navigationBar = layout.getNavigationBar();
|
final NavigationBar navigationBar = layout.getNavigationBar();
|
||||||
navigationBar.setNavigationBarListener(this);
|
navigationBar.setNavigationBarListener(this);
|
||||||
navigationBar.getBackButton().setEnabled(false);
|
final Button backButton = navigationBar.getBackButton();
|
||||||
|
backButton.setVisibility(View.GONE);
|
||||||
SetupWizardUtils.setImmersiveMode(getActivity());
|
SetupWizardUtils.setImmersiveMode(getActivity());
|
||||||
return layout;
|
return layout;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user