diff options
| author | 2022-06-23 15:34:33 -0700 | |
|---|---|---|
| committer | 2022-10-07 20:12:13 +0000 | |
| commit | 32783b391edeb93cded2557c5bc4f172db4c6d1c (patch) | |
| tree | 479bc18509bbfa9afd1f87b5b6f1c931a6741a70 /libs/androidfw/StringPool.cpp | |
| parent | f267c377bdd975b433e445c23383d8ba03d62634 (diff) | |
Fix SystemUI build for kotlin 1.7.0
Kotlin 1.7.0 converts the UNEXPECTED_SAFE_CALL warning into an error:
frameworks/base/packages/SystemUI/src/com/android/systemui/media/MediaDataManager.kt:780:68: error:
type mismatch: inferred type is Boolean? but Boolean was expected
if (useMediaResumption && removed?.resumeAction != null && removed?.isLocalSession()) {
^
Replace the unnecessary ?. operator.
Bug: 216136346
Test: builds
Change-Id: Ib1605aaff28492b557deac4156f3cc2f4cf8b329
(cherry picked from commit 6e3d0a66d237b143047765ea6041422a567c5c8d)
Merged-In: Ib1605aaff28492b557deac4156f3cc2f4cf8b329
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions