Allow public profile compilation for primary apks

It is ok to perform a "public" compilation with
profiles comming from dex metdata files.

(cherry picked from commit ff3e4a1b2fb082e8146d00a41f702d0b00d9cab0)

Test: adb install foo.apk foo.dm
Bug: 30934496
Merged-In: I1d15e3281ccc61b19a2aafe3c885285a83ff6115
Change-Id: I1d15e3281ccc61b19a2aafe3c885285a83ff6115
1 file changed