Forked from
Dhina17 / platform_frameworks_base
8097 commits behind the upstream repository.
Only create app metadata folder for system apps if the source is apk and the folder does not already exist. Bug: 338174039 Test: atest InstallAppMetadataTest Change-Id: Ib358f44c093d9c0197fab788697fe54def18c41b