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

Commit 00291c4c authored by Pangyen Chen's avatar Pangyen Chen Committed by Badhri Jagan Sridharan
Browse files

ANDROID dm-verity: fix root device init timing issue.



[Detail] Depending on storage initialization speed, root block device
may not be ready when configuring it to enable dm-verity, this causes
dm-verity critical error and system reboots. To mitigate this issue,
we added retry and timeout mechanism, where timeout value is 2s.

Bug: 68731686
Test: We can reproduce the issue before we apply this patch but we
cannot reproduce the issue after we apply this patch. Device can
always boot up to homescreen after we apply this patch.

Change-Id: Ia360a63c5c90f7d81ef1465f308995fb69406a83
Signed-off-by: default avatarIris Chang <iris.chang@mediatek.com>
parent f5613a0a
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