diff options
author | 2023-08-22 15:44:00 -0700 | |
---|---|---|
committer | 2023-08-23 20:53:07 +0000 | |
commit | 1c9890f797fc930e6619d1303d36ca8193805325 (patch) | |
tree | 2a9d812a3a7df3b30dc62f9a58b96e8117e1823e | |
parent | dbb8bfeac21c6be689c349cd59fe180889ccdf94 (diff) |
Fix kotlin nullable errors in StatementService
Fix kotlin nullable errors that were exposed by setting the retention
of android.annotation.NonNull and android.annotation.Nullable to
class retention.
Bug: 294110802
Test: builds
Change-Id: I2b8de9c8436ccfcb41bba27d4a3fd6b0eb1f6b1e
-rw-r--r-- | packages/StatementService/src/com/android/statementservice/utils/StatementUtils.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/StatementService/src/com/android/statementservice/utils/StatementUtils.kt b/packages/StatementService/src/com/android/statementservice/utils/StatementUtils.kt index 92d752c83a9f..4837aad3a025 100644 --- a/packages/StatementService/src/com/android/statementservice/utils/StatementUtils.kt +++ b/packages/StatementService/src/com/android/statementservice/utils/StatementUtils.kt @@ -88,6 +88,7 @@ internal object StatementUtils { } catch (e: Exception) { return Result.Failure(e) } + checkNotNull(signingInfo) return if (signingInfo.hasMultipleSigners()) { signingInfo.apkContentsSigners } else { |