diff options
author | 2024-12-27 10:27:53 -0800 | |
---|---|---|
committer | 2024-12-27 10:30:20 -0800 | |
commit | a6aa6a5eeba381c4e313b2afab35c7b88c270954 (patch) | |
tree | ff0f46ccd8ddac796ceead8d285e2a9d75bc1682 /service | |
parent | 29f0d823d360f0cf512bcfea946067188d06ba6f (diff) |
Move to Kotlin requireNotNull() from Preconditions.checkNotNull()
We are in Kotlin so the Kotlin way can be preferred.
Somehow the JSpecify @NonNull from Preconditions.checkNotNull()
isn't being recognized as non-null by the Kotlin compiler used for
the code here and that's blocking AndroidX prebuilt drop, so let's
get out of the way for that first, while improving our code a tiny
bit.
Bug: 385912424
Flag: EXEMPT bugfix
Relnote: N/A
Test: build
Change-Id: I42504a24a8544b56dbbbf5e0cd707355304717de
Diffstat (limited to 'service')
0 files changed, 0 insertions, 0 deletions