summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderThread.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-01-18 09:45:17 +0900
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-01-18 19:34:29 +0000
commit0356eab290460811d115c7a7a57e21dfa6d23401 (patch)
tree84bb0e31b99ae5bafa1a4691866859e62b107d81 /libs/hwui/renderthread/RenderThread.cpp
parenta961ad3ae960448087ceb4b50c3b9569393884cb (diff)
Fix: PackageInfo for apex has wrong info
Currently, ApexInfo.packageName is directly fed into PackageInfo. However, this is wrong because ApexInfo.packageName is from apex_manifest.json, not AndroidManifest.xml. Name in apex_manifest.json is the internal ID of an APEX while the name in AndroidManifest.xml is the public externally-visible name. Fixing the issue by parsing the AndroidManifest.xml in the apex file via PackageParser. This change also fixes the problem that signature is not included in the PackageInfo for APEX. It is included when GET_SIGNATURES is specified. Bug: 123029986 Bug: 123028426 Test: adb shell cmd package list packages --apex-only --show-versioncode Shows com.google.* names Change-Id: I0021b302f3f4e843f79dd6d40716cefd531c5628 (cherry picked from commit 86f5652341403084a57fb7f1e51d1299c763c4f8)
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions