Merge "[pm] add initiatingPackageName in dumpsys" into udc-dev am: 0004cfc0ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21674122 Change-Id: I35d132b0115092245d61bba9adc42c69fc738b3f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -5034,19 +5034,20 @@ public final class Settings implements Watchable, Snappable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
pw.print(prefix); pw.print(" timeStamp=");
|
pw.print(prefix); pw.print(" timeStamp=");
|
||||||
date.setTime(ps.getLastModifiedTime());
|
date.setTime(ps.getLastModifiedTime());
|
||||||
pw.println(sdf.format(date));
|
pw.println(sdf.format(date));
|
||||||
pw.print(prefix); pw.print(" lastUpdateTime=");
|
pw.print(prefix); pw.print(" lastUpdateTime=");
|
||||||
date.setTime(ps.getLastUpdateTime());
|
date.setTime(ps.getLastUpdateTime());
|
||||||
pw.println(sdf.format(date));
|
pw.println(sdf.format(date));
|
||||||
if (ps.getInstallSource().mInstallerPackageName != null) {
|
pw.print(prefix); pw.print(" installerPackageName=");
|
||||||
pw.print(prefix); pw.print(" installerPackageName=");
|
pw.println(ps.getInstallSource().mInstallerPackageName);
|
||||||
pw.println(ps.getInstallSource().mInstallerPackageName);
|
pw.print(prefix); pw.print(" installerPackageUid=");
|
||||||
}
|
pw.println(ps.getInstallSource().mInstallerPackageUid);
|
||||||
if (ps.getInstallSource().mInstallerPackageUid != INVALID_UID) {
|
pw.print(prefix); pw.print(" initiatingPackageName=");
|
||||||
pw.print(prefix); pw.print(" installerPackageUid=");
|
pw.println(ps.getInstallSource().mInitiatingPackageName);
|
||||||
pw.println(ps.getInstallSource().mInstallerPackageUid);
|
pw.print(prefix); pw.print(" originatingPackageName=");
|
||||||
}
|
pw.println(ps.getInstallSource().mOriginatingPackageName);
|
||||||
|
|
||||||
if (ps.getInstallSource().mUpdateOwnerPackageName != null) {
|
if (ps.getInstallSource().mUpdateOwnerPackageName != null) {
|
||||||
pw.print(prefix); pw.print(" updateOwnerPackageName=");
|
pw.print(prefix); pw.print(" updateOwnerPackageName=");
|
||||||
pw.println(ps.getInstallSource().mUpdateOwnerPackageName);
|
pw.println(ps.getInstallSource().mUpdateOwnerPackageName);
|
||||||
|
|||||||
Reference in New Issue
Block a user