[automerger skipped] Migrate away from deprecated Truth APIs. am: a7df95289a am: a8f7845ef0 am: 81d85316e2 am: c0bf452612 -s ours

am skip reason: Change-Id I17f55bf97900c6aa0eba49624de8c723e431f6ed with SHA-1 06edbfae58 is in history

Original change: https://android-review.googlesource.com/c/platform/external/libtextclassifier/+/1449387

Change-Id: Id091a5c4b957c7d2779095dd9c7607a6edce02b3