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)
committerCalin Juravle <calin@google.com>
Tue, 26 Sep 2017 20:27:05 +0000 (20:27 +0000)
Bug: 65843255
Test: build
Change-Id: Icc748dd14b52641e37b149f51d61a4086e55ed41

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

index 4fafe34..e254196 100644 (file)
@@ -425,7 +425,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();
@@ -441,7 +441,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();
                 }