commit | ef0695d78fbd3bffef15cd09fa2f6a96ab793edc | [log] [tgz] |
---|---|---|
author | MÃ¥rten Kongstad <marten.kongstad@sony.com> | Tue Dec 04 14:36:48 2018 +0100 |
committer | Todd Kennedy <toddke@google.com> | Mon Dec 17 15:20:48 2018 -0800 |
tree | 3cdfcd96fdc4d5d3c3e36603f52e9c6b4282f801 | |
parent | 2ffad2ba3a9ec3cd0082e951bcb6dfe48fa3e2f4 [diff] |
OMS: extract verifyIdmap from createIdmap For clarity, split IIdmap2::createIdmap into two separate functions: - IIdmap2::verifyIdmap [check if an existing idmap file is OK to use] - IIdmap2::createIdmap [unconditionally (re)create an idmap file] Teach the IdmapManager to call verifyIdmap and to proceed with createIdmap only if actually needed. Test: atest OverlayDeviceTests OverlayHostTests Change-Id: I9f6f1192011fcb094adffeca1eb3f709520bbd24