Add threading model note to hello-word page

Also add layer of indirection between code and the guide, to
make moving content easier going forward.

PiperOrigin-RevId: 255182216
This commit is contained in:
olly 2019-06-26 15:16:22 +01:00 committed by Oliver Woodman
parent 4e504bc485
commit 40d44c48e5

View File

@ -1233,8 +1233,7 @@ public class SimpleExoPlayer extends BasePlayer
Log.w(
TAG,
"Player is accessed on the wrong thread. See "
+ "https://exoplayer.dev/troubleshooting.html#"
+ "what-do-player-is-accessed-on-the-wrong-thread-warnings-mean",
+ "https://exoplayer.dev/issues/player-accessed-on-wrong-thread",
hasNotifiedFullWrongThreadWarning ? null : new IllegalStateException());
hasNotifiedFullWrongThreadWarning = true;
}