commit | 8f2a40ef0ce7fae51a10408c7359720b24475470 | [log] [tgz] |
---|---|---|
author | Yang Tianping <yangtianping@oppo.com> | Fri Oct 29 14:39:02 2021 +0800 |
committer | Yang Tianping <yangtianping@oppo.com> | Mon Nov 22 15:20:46 2021 +0800 |
tree | 695f6f0317b4cd4bceed56feade89d2a588a8ad9 | |
parent | 0c872e3a82d49fa30db34321b1bb4bd1a1deda64 [diff] |
installd: Skip profile preparation if primary.prof does not exist If the primary.prof does not exist in .dm file, the profman here will create an empty reference profile, which will slow down the dex2oat. And, the profman process is expensive (about hundreds of milliseconds), we should avoid it if the primary.prof does not exist. Bug: 204415663 Change-Id: I8ed16b2090659b2541c71b748f7e1a1552fa1a5e Signed-off-by: Yang Tianping <yangtianping@oppo.com>