Abort if __system_property_area_init fails
If __system_property_area_init() fails, there is a fundamental issue with the system and we should abort from init. Bug: 21852512 Change-Id: I05d7978ba3bcc347027a6d9443de7cdd229033d2
This commit is contained in:
parent
e36a85cdcc
commit
6036114f93
1 changed files with 2 additions and 1 deletions
|
@ -79,7 +79,8 @@ void property_init() {
|
|||
property_area_initialized = true;
|
||||
|
||||
if (__system_property_area_init()) {
|
||||
return;
|
||||
ERROR("Failed to initialize property area\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
pa_workspace.size = 0;
|
||||
|
|
Loading…
Reference in a new issue