commit | f7071895b15f584f55781448b58359071fea33e1 | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Fri Nov 24 18:03:51 2017 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Fri Mar 16 15:59:42 2018 +0800 |
tree | ce65465c021f60b674fe25be2c8a237112ac1964 | |
parent | d9b1bcc299365ee8b1a45d75ff585891e82bea8e [diff] |
Allow odm_file_contexts to be empty There might be an empty odm_file_contexts when BOARD_ODM_SEPOLICY_DIRS is defined. Skip reading empty file_contexts files in function compute_file_contexts_hash(), instead of returning an error, which makes device doesn't boot. Bug: 64240127 Test: boot a device having an empty odm_file_contexts Change-Id: I359da5fce17eedb65ce288bb2781e61e8ade3cf9