Replace AnimationHandler's ThreadLocal with

... a bridge context specific thread local to ensure each
render session has its own instance of AnimationHandler.

This is to prevent issues due to one render session
disposing the callbacks that were registered in another.

Bug: 282724670
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b41cb105a0fc7dc23ee740cf23b2928800dba075)
Merged-In: I2e48c3eea43752259f1eba3ae9bf662cc6558b0a
Change-Id: I2e48c3eea43752259f1eba3ae9bf662cc6558b0a
4 files changed