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

Commit a3d9045e authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

Settings: forward decrypt required on boot flag



This wasn't being pass forward and all of the defaults had it set to
true.

Ticket: CYNGNOS-2270

Change-Id: I90a6c918bb5b4b52791bcff18a6ea3bcfb194547
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
(cherry picked from commit 0d512152)
parent 645aebf0
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -92,6 +92,11 @@ public class ChooseLockPatternSize extends PreferenceActivity {
                        originatingIntent.getLongExtra(
                                ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, 0));
            }
            // Forward the Encryption interstitial required password selection
            if (originatingIntent.hasExtra(EncryptionInterstitial.EXTRA_REQUIRE_PASSWORD)) {
                intent.putExtra(EncryptionInterstitial.EXTRA_REQUIRE_PASSWORD, originatingIntent
                        .getBooleanExtra(EncryptionInterstitial.EXTRA_REQUIRE_PASSWORD, true));
            }
            intent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
            startActivity(intent);