Don't generate stack in logcat if assistant missing.

Low ram devices don't have assistants. Worth noting, but not
making a big stink about it.

Change-Id: I5a49be99bf688a5f1b800a1124b14a589ecf5b52
Fixes: 27210719
This commit is contained in:
Dan Sandler
2016-04-25 11:49:39 -04:00
parent 14d8be728b
commit 5ccae1fb75

View File

@@ -247,8 +247,8 @@ public class AssistManager {
}
}
} catch (PackageManager.NameNotFoundException e) {
Log.w(TAG, "Failed to swap drawable; "
+ component.flattenToShortString() + " not found", e);
Log.v(TAG, "Assistant component "
+ component.flattenToShortString() + " not found");
} catch (Resources.NotFoundException nfe) {
Log.w(TAG, "Failed to swap drawable from "
+ component.flattenToShortString(), nfe);