Loading core/java/android/app/ContextImpl.java +2 −2 Original line number Diff line number Diff line Loading @@ -1996,7 +1996,7 @@ class ContextImpl extends Context { + 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 " + "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."; Loading Loading
core/java/android/app/ContextImpl.java +2 −2 Original line number Diff line number Diff line Loading @@ -1996,7 +1996,7 @@ class ContextImpl extends Context { + 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 " + "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."; Loading