commit | d8ea6fa753372c38ad46211d871432363d8bd6c8 | [log] [tgz] |
---|---|---|
author | Yigit Boyar <yboyar@google.com> | Thu May 11 13:06:43 2017 -0700 |
committer | Yigit Boyar <yboyar@google.com> | Thu Jul 06 16:31:30 2017 -0700 |
tree | c5389d07e1490296eccdbda1251675990f183096 | |
parent | 7b9be8b61c445bf43925f5300a022aac3f3ba910 [diff] |
remove private class from the message Bug: 36069458 Test: n/a Change-Id: I37cc0c64ce7c58b93971a19401827727860bc4b5
diff --git a/lifecycle/extensions/src/main/java/android/arch/lifecycle/LiveData.java b/lifecycle/extensions/src/main/java/android/arch/lifecycle/LiveData.java index a06a300..d689442 100644 --- a/lifecycle/extensions/src/main/java/android/arch/lifecycle/LiveData.java +++ b/lifecycle/extensions/src/main/java/android/arch/lifecycle/LiveData.java
@@ -407,8 +407,7 @@ private void assertMainThread(String methodName) { if (!AppToolkitTaskExecutor.getInstance().isMainThread()) { throw new IllegalStateException("Cannot invoke " + methodName + " on a background" - + " thread. You can easily move the call to main thread using" - + " AppToolkitTaskExecutor."); + + " thread"); } } }