Fix failing testSlicedStateCountMetric am: 1cec647bb1

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

Change-Id: I0c61623c99f0fc37847f56a192b83f206fdf366d
tree: 99ee365b9827dee608c1d4ca881f22f1d8eeac44
  1. tests/