summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-01-18 09:45:17 +0900
committerJeff Hamilton <jham@google.com>2019-01-18 14:49:16 -0500
commit5b1b7344ad4a82b75884fac76b0410867b6295a2 (patch)
treeb3c327db9840c818370420d601e3b64b768a1121 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent73dd7c9104fe0d1a779821f73b68d79ec98d1296 (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
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions