diff options
author | 2023-02-24 19:10:19 +0800 | |
---|---|---|
committer | 2023-03-07 02:36:59 +0000 | |
commit | 400138e74c4a8434b4c2dba22b0e0fe61a29cd9e (patch) | |
tree | 7385b253cd4ade56a0d30614c78bf53e4b6dbab9 /libs/binder/RpcState.cpp | |
parent | 04d05a69c34e5ab342b9c982690351ab807c6a83 (diff) |
Installd: don't generate app image with empty reference profile
Use app images only if we are compiling profile-guided and
reference profile not empty.
Fixed test logic to use a non-empty dm_file so that the profile is actually opened by dexopt.cpp.
Test: 1.adb install old_version.apk
2.open and use app for a while and make sure the reference profile generated
3.adb install new_version.apk
4.check if app image file exists?
Bug: 270427379
Change-Id: If143605e0f5541fcffd63aa52a257834d2448383
Diffstat (limited to 'libs/binder/RpcState.cpp')
0 files changed, 0 insertions, 0 deletions