summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Eric Rahm <erahm@google.com> 2023-08-23 08:16:15 -0700
committer Eric Rahm <erahm@google.com> 2023-08-23 15:41:06 +0000
commitdbe94262baad569c1a4a16be719ac295ea6e02f6 (patch)
treec9562df5f0283decf46d97e4daaa0491be0b5d02 /libs/androidfw/ApkParsing.cpp
parentaf3eb24f8e68617e7a4686edd6201fea1b0fe59d (diff)
Fix outpput of dumpsys package
`dumpsys package` intends to print user state attributes as one line and then additional install state with additional indentation on new lines. In ag/24359877 we added an additional quarantine user state that ended up getting prefixed to the install reason line: User 0: ceDataInode=1919 ... quarantined=false installReason=0 firstInstallTime=2023-08-04 15:14:41 uninstallReason=0 This led to CTS failures where the tests depended on the output of `adb shell dumpsys package`, in particular anything using `bedstead` with instant apps. This change restores the proper line separation and splits out the code with a comment to help avoid breaking the output again in the future: User 0: ceDataInode=1919 ... quarantined=false installReason=0 firstInstallTime=2023-08-04 15:14:41 uninstallReason=0 Fixes: 286970682 Test: atest --instant CtsContentTestCases:android.content.cts.ContentProviderTest Change-Id: I4359fccba2d03cc9e1c1cca45bcaa87d2de75905
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions