From 3be43d218e63806de60a7762546920ee2499bab3 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Tue, 23 Mar 2021 18:04:23 +0000 Subject: [PATCH] Fix typo in strict mode violation message Change-Id: Ic3c41621dcd8af1c0c60a5f3ef26b80fdab45c19 Fixes: 183513884 Test: Presubmits --- core/java/android/app/ContextImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/ContextImpl.java b/core/java/android/app/ContextImpl.java index 0358fe56203c9..8cbf76e1906f1 100644 --- a/core/java/android/app/ContextImpl.java +++ b/core/java/android/app/ContextImpl.java @@ -1995,8 +1995,8 @@ class ContextImpl extends Context { final String errorMessage = "Tried to access visual service " + SystemServiceRegistry.getSystemServiceClassName(name) + " from a non-visual Context:" + getOuterContext(); - final String message = "Visual services, such as WindowManager" - + "or LayoutInflater should be accessed from Activity or other visual " + final String message = "Visual services, such as WindowManager " + + "or LayoutInflater should be accessed from Activity or another visual " + "Context. Use an Activity or a Context created with " + "Context#createWindowContext(int, Bundle), which are adjusted to " + "the configuration and visual bounds of an area on screen.";