Migrate away from deprecated Truth APIs. am: 041b499d83

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/localepicker/+/1437940

Change-Id: Id47a38f6556103cb94006de2d574c83e8344c3a4