Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e50b249c authored by Matt Pietal's avatar Matt Pietal
Browse files

Make sure to update bouncer mode on config change

This ensures the right bouncer (one-handed or default) shows when the
device and folded and unfolded.

Test: manual, fold and unfold and display the bouncer
Fixes: 321602787
Flag: N/A
Change-Id: I31219a86483936215ba1f11d30b04e0955ebe004
parent abf9f57a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ import android.app.ActivityManager;
import android.app.admin.DevicePolicyManager;
import android.content.Intent;
import android.content.res.ColorStateList;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.hardware.biometrics.BiometricRequestConstants;
import android.media.AudioManager;
@@ -390,6 +391,11 @@ public class KeyguardSecurityContainerController extends ViewController<Keyguard
                        mSecurityViewFlipperController.updateConstraints(useSplitBouncer);
                    }
                }

                @Override
                public void onConfigChanged(Configuration newConfig) {
                    configureMode();
                }
            };
    private final KeyguardUpdateMonitorCallback mKeyguardUpdateMonitorCallback =
            new KeyguardUpdateMonitorCallback() {