Improved logging and dump on TextClassification.
Bug: 117435676 Test: adb shell dumpsys textclassification Change-Id: I09a7bbebb38117f1be8456a0c31b74a936b1e079
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user