Merge "Disable toolbar title of screen lock pages"
This commit is contained in:
committed by
Android (Google) Code Review
commit
0f81257a5f
@@ -77,6 +77,11 @@ public class RedactionInterstitial extends SettingsActivity {
|
|||||||
findViewById(R.id.content_parent).setFitsSystemWindows(false);
|
findViewById(R.id.content_parent).setFitsSystemWindows(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean isToolbarEnabled() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an intent for launching RedactionInterstitial.
|
* Create an intent for launching RedactionInterstitial.
|
||||||
*
|
*
|
||||||
|
@@ -184,6 +184,11 @@ public class ChooseLockPassword extends SettingsActivity {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean isToolbarEnabled() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/* package */ Class<? extends Fragment> getFragmentClass() {
|
/* package */ Class<? extends Fragment> getFragmentClass() {
|
||||||
return ChooseLockPasswordFragment.class;
|
return ChooseLockPasswordFragment.class;
|
||||||
}
|
}
|
||||||
|
@@ -194,6 +194,11 @@ public class ChooseLockPattern extends SettingsActivity {
|
|||||||
return super.onKeyDown(keyCode, event);
|
return super.onKeyDown(keyCode, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean isToolbarEnabled() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public static class ChooseLockPatternFragment extends InstrumentedFragment
|
public static class ChooseLockPatternFragment extends InstrumentedFragment
|
||||||
implements SaveAndFinishWorker.Listener {
|
implements SaveAndFinishWorker.Listener {
|
||||||
|
|
||||||
|
@@ -176,6 +176,11 @@ public abstract class ConfirmDeviceCredentialBaseActivity extends SettingsActivi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean isToolbarEnabled() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public void prepareEnterAnimation() {
|
public void prepareEnterAnimation() {
|
||||||
getFragment().prepareEnterAnimation();
|
getFragment().prepareEnterAnimation();
|
||||||
}
|
}
|
||||||
|
@@ -24,7 +24,6 @@ import android.os.Bundle;
|
|||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.Button;
|
import android.widget.Button;
|
||||||
import android.widget.LinearLayout;
|
|
||||||
|
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
@@ -65,8 +64,7 @@ public class SetupChooseLockPassword extends ChooseLockPassword {
|
|||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstance) {
|
protected void onCreate(Bundle savedInstance) {
|
||||||
super.onCreate(savedInstance);
|
super.onCreate(savedInstance);
|
||||||
LinearLayout layout = (LinearLayout) findViewById(R.id.content_parent);
|
findViewById(R.id.content_parent).setFitsSystemWindows(false);
|
||||||
layout.setFitsSystemWindows(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class SetupChooseLockPasswordFragment extends ChooseLockPasswordFragment
|
public static class SetupChooseLockPasswordFragment extends ChooseLockPasswordFragment
|
||||||
|
Reference in New Issue
Block a user