Fix failing testSlicedStateCountMetric am: 1cec647bb1 am: fbe5d9ffcc

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/12558419

Change-Id: Ifa925da78e31e3d8a6ba30f952a8a629bd50176e
tree: 139b23e61cf34951debbe8401d2151590ddcb1f3
  1. tests/