OSDN Git Service

OMS: remove duplicate mState line from 'cmd overlay dump'
authorMårten Kongstad <marten.kongstad@sony.com>
Fri, 29 Mar 2019 06:38:20 +0000 (07:38 +0100)
committerTodd Kennedy <toddke@google.com>
Tue, 2 Apr 2019 18:40:17 +0000 (11:40 -0700)
Commit 38988345744 duplicated the mState part of the OMS dump output (by
mistake). Remove the offending line.

Test: manual (adb shell cmd overlay dump)
Change-Id: Ie5dd9e10b691e3d5b3ac1c60a3a5d01fdc17bdac

services/core/java/com/android/server/om/OverlayManagerSettings.java

index 667dfa1..36b5beb 100644 (file)
@@ -309,7 +309,6 @@ final class OverlayManagerSettings {
             pw.println("mTargetOverlayableName.: " + item.getTargetOverlayableName());
             pw.println("mBaseCodePath..........: " + item.getBaseCodePath());
             pw.println("mState.................: " + OverlayInfo.stateToString(item.getState()));
-            pw.println("mState.................: " + OverlayInfo.stateToString(item.getState()));
             pw.println("mIsEnabled.............: " + item.isEnabled());
             pw.println("mIsStatic..............: " + item.isStatic());
             pw.println("mPriority..............: " + item.mPriority);