diff options
| author | Yohei Yukawa <yukawa@google.com> | 2020-02-11 15:40:25 -0800 |
|---|---|---|
| committer | Yohei Yukawa <yukawa@google.com> | 2020-02-11 15:40:25 -0800 |
| commit | 5af3f917a796a5db19dcd28e5c9caabf733b2802 (patch) | |
| tree | 8edb81e8c2741c1de674a55a4f20ae0fdf86583f /core/java/android | |
| parent | 7cd9daebb1fc8636014ca030de361165b543e926 (diff) | |
Handle prefix when dumping ApplicationInfo#crossProfile
This is a follow up CL to a CL [1] that added one more state dump from
ApplicationInfo but forgot to take care of prefix handling.
[1]: I11b5d9919e4463cdaf89826360bc12ae68dbd0af
f9b99f5fa1f2642fee061f76a02be7e93c083144
Bug: 142538125
Bug: 142537267
Test: Ran the following command to see "crossProfile"
is aligned with other outputs from ApplicationInfo.
adb shell dumpsys input_method
Change-Id: I629d4653b0d9109615feb02718d1228cf4f850d7
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/content/pm/ApplicationInfo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/content/pm/ApplicationInfo.java b/core/java/android/content/pm/ApplicationInfo.java index b998539dee9c..d251ba9519db 100644 --- a/core/java/android/content/pm/ApplicationInfo.java +++ b/core/java/android/content/pm/ApplicationInfo.java @@ -1389,7 +1389,7 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable { pw.println(prefix + "fullBackupContent=" + (fullBackupContent < 0 ? "false" : "true")); } - pw.println("crossProfile=" + (crossProfile ? "true" : "false")); + pw.println(prefix + "crossProfile=" + (crossProfile ? "true" : "false")); if (networkSecurityConfigRes != 0) { pw.println(prefix + "networkSecurityConfigRes=0x" + Integer.toHexString(networkSecurityConfigRes)); |
