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:
parent
4e504bc485
commit
40d44c48e5
@ -1233,8 +1233,7 @@ public class SimpleExoPlayer extends BasePlayer
|
|||||||
Log.w(
|
Log.w(
|
||||||
TAG,
|
TAG,
|
||||||
"Player is accessed on the wrong thread. See "
|
"Player is accessed on the wrong thread. See "
|
||||||
+ "https://exoplayer.dev/troubleshooting.html#"
|
+ "https://exoplayer.dev/issues/player-accessed-on-wrong-thread",
|
||||||
+ "what-do-player-is-accessed-on-the-wrong-thread-warnings-mean",
|
|
||||||
hasNotifiedFullWrongThreadWarning ? null : new IllegalStateException());
|
hasNotifiedFullWrongThreadWarning ? null : new IllegalStateException());
|
||||||
hasNotifiedFullWrongThreadWarning = true;
|
hasNotifiedFullWrongThreadWarning = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user