Loading core/java/android/view/ViewRootImpl.java +5 −2 Original line number Diff line number Diff line Loading @@ -9883,9 +9883,12 @@ public final class ViewRootImpl implements ViewParent, } void checkThread() { if (mThread != Thread.currentThread()) { Thread current = Thread.currentThread(); if (mThread != current) { throw new CalledFromWrongThreadException( "Only the original thread that created a view hierarchy can touch its views."); "Only the original thread that created a view hierarchy can touch its views." + " Expected: " + mThread.getName() + " Calling: " + current.getName()); } } Loading Loading
core/java/android/view/ViewRootImpl.java +5 −2 Original line number Diff line number Diff line Loading @@ -9883,9 +9883,12 @@ public final class ViewRootImpl implements ViewParent, } void checkThread() { if (mThread != Thread.currentThread()) { Thread current = Thread.currentThread(); if (mThread != current) { throw new CalledFromWrongThreadException( "Only the original thread that created a view hierarchy can touch its views."); "Only the original thread that created a view hierarchy can touch its views." + " Expected: " + mThread.getName() + " Calling: " + current.getName()); } } Loading