OSDN Git Service

Fix spelling mistake in dumpsys output
authorCalin Juravle <calin@google.com>
Tue, 26 Sep 2017 20:23:00 +0000 (13:23 -0700)
committerAndreas Gampe <agampe@google.com>
Thu, 2 Nov 2017 16:30:32 +0000 (09:30 -0700)
(cherry picked from commit 94837e35e3c149e81da90f312fbb37f22c8bc90e)

Bug: 65843255
Test: build
Merged-In: Icc748dd14b52641e37b149f51d61a4086e55ed41
Change-Id: Icc748dd14b52641e37b149f51d61a4086e55ed41

services/core/java/com/android/server/pm/PackageDexOptimizer.java

index 8be5aad..7c3b63f 100644 (file)
@@ -437,7 +437,7 @@ public class PackageDexOptimizer {
             }
 
             if (useInfo.isUsedByOtherApps(path)) {
-                pw.println("used be other apps: " + useInfo.getLoadingPackages(path));
+                pw.println("used by other apps: " + useInfo.getLoadingPackages(path));
             }
 
             Map<String, PackageDexUsage.DexUseInfo> dexUseInfoMap = useInfo.getDexUseInfoMap();
@@ -453,7 +453,7 @@ public class PackageDexOptimizer {
                     // TODO(calin): get the status of the oat file (needs installd call)
                     pw.println("class loader context: " + dexUseInfo.getClassLoaderContext());
                     if (dexUseInfo.isUsedByOtherApps()) {
-                        pw.println("used be other apps: " + dexUseInfo.getLoadingPackages());
+                        pw.println("used by other apps: " + dexUseInfo.getLoadingPackages());
                     }
                     pw.decreaseIndent();
                 }