Update the layout of Pattern/PIN/Password confirmation
- Using the SUW library API to enable the new style - Removing some obsolete layouts which are using in landscape mode - Verifying that these pages are using the new style Fix: 188438375 Test: visual verified 1) Register a screen lock 2) Navigate to Settings > Security > Screen lock 2) See and check if the Pattern/PIN/Password confirmation page is using the new style Change-Id: I076dbf36388fa3badf4da409bcda83a5b368f13c
This commit is contained in:
@@ -28,7 +28,6 @@ import android.os.UserManager;
|
||||
import android.os.storage.StorageManager;
|
||||
import android.text.TextUtils;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.Surface;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.animation.AnimationUtils;
|
||||
@@ -120,12 +119,6 @@ public class ConfirmLockPattern extends ConfirmDeviceCredentialBaseActivity {
|
||||
container,
|
||||
false);
|
||||
mGlifLayout = view.findViewById(R.id.setup_wizard_layout);
|
||||
switch(getContext().getDisplay().getRotation()) {
|
||||
case Surface.ROTATION_90:
|
||||
case Surface.ROTATION_270:
|
||||
mGlifLayout.setLandscapeHeaderAreaVisible(false /* visible */);
|
||||
break;
|
||||
}
|
||||
mLockPatternView = (LockPatternView) view.findViewById(R.id.lockPattern);
|
||||
mErrorTextView = (TextView) view.findViewById(R.id.errorText);
|
||||
|
||||
|
Reference in New Issue
Block a user