summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2018-10-12 13:42:40 -0700
committerFelipe Leme <felipeal@google.com>2018-10-12 13:47:57 -0700
commitf819213c8552d5efe2389eb2caf19d0d58fca7ea (patch)
treede668787018c521a1452afbc76699b2464d0990a /core
parent8977bfd6e065752a9ab8104e6850f9c3285692e5 (diff)
Improved logging and dump on TextClassification.
Bug: 117435676 Test: adb shell dumpsys textclassification Change-Id: I09a7bbebb38117f1be8456a0c31b74a936b1e079
Diffstat (limited to 'core')
-rw-r--r--core/java/android/service/textclassifier/TextClassifierService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/service/textclassifier/TextClassifierService.java b/core/java/android/service/textclassifier/TextClassifierService.java
index b461c0daaca5..7af9db8ebf32 100644
--- a/core/java/android/service/textclassifier/TextClassifierService.java
+++ b/core/java/android/service/textclassifier/TextClassifierService.java
@@ -405,8 +405,8 @@ public abstract class TextClassifierService extends Service {
PackageManager.MATCH_SYSTEM_ONLY);
if ((ri == null) || (ri.serviceInfo == null)) {
- Slog.w(LOG_TAG, String.format("Package or service not found in package %s",
- packageName));
+ Slog.w(LOG_TAG, String.format("Package or service not found in package %s for user %d",
+ packageName, context.getUserId()));
return null;
}
final ServiceInfo si = ri.serviceInfo;