Add uninstallReason to Settings dump

We used to print the installReason, but not the uninstallReason.

Test: manual
Bug: 216636343 (to help with it)
Change-Id: I7c3bf1cb61cef2972c457021e68599c2a10b450f
This commit is contained in:
Adam Bookatz
2022-01-27 10:49:57 -08:00
parent d707ebcd7a
commit 6758fd6b0d

View File

@@ -4869,6 +4869,9 @@ public final class Settings implements Watchable, Snappable {
date.setTime(pus.getFirstInstallTime());
pw.println(sdf.format(date));
pw.print(" uninstallReason=");
pw.println(userState.getUninstallReason());
if (userState.isSuspended()) {
pw.print(prefix);
pw.println(" Suspend params:");