Fix a bug with pre-allocating loop devices for compressed APEXes The logic inside OnBootstrap to calculate how many loop devices should be pre-allocated for APEX mounts was only counting the .apex files, while with introduction of compressed APEXes, the APEX files can also have .capex extension now. This change fixes the bug by using the ApexFileRepository APIs that correctly handle APEX packages with .capex extension. Bug: 232510086 Test: atest ApexTestCases Change-Id: I28685ac790c124e1e65d43c8131cef62686a7619 (cherry picked from commit 6c6afd738b576a9114bac7a82f8b87d274d1b981) 
2 files changed