Skip to content

Commit 015baba

Browse files
JarlPenguinrokusenpaii
authored andcommitted
core: Don't spoof props in recovery mode
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com> Change-Id: Ib6d3808c3b8f3e0cffab685a24d3cdd436b0fe9b
1 parent 9144f1a commit 015baba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

init/property_service.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,9 @@ void PropertyLoadBootDefaults() {
11901190
update_sys_usb_config();
11911191

11921192
// Workaround SafetyNet
1193-
workaround_snet_properties();
1193+
if (!IsRecoveryMode()) {
1194+
workaround_snet_properties();
1195+
}
11941196
}
11951197

11961198
bool LoadPropertyInfoFromFile(const std::string& filename,

0 commit comments

Comments
 (0)