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

Skip to content
Commit 323195c9 authored by Amir Samuelov's avatar Amir Samuelov
Browse files

pft: fix pft_allow_merge_bio() to check if key is loaded



Encrypted BIOs are created only when file encryption is enabled,
which happens only when key is loaded.
If key is not loaded then non-encrypted BIOs can safely merge.
This fix makes PFT hook silent before activation
and fix Factory-Data-Reset (FDR) issue.

Change-Id: I7763ee540f157fe590f400467dbf73b62adcf407
Signed-off-by: default avatarAmir Samuelov <amirs@codeaurora.org>
parent c5564588
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment