Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dbe94262 authored by Eric Rahm's avatar Eric Rahm
Browse files

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
parent af3eb24f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment