EuiccManagementFragment: Add nonnull assertion for platform types
All checks were successful
/ build-debug (push) Successful in 5m14s

Fixes build within AOSP 14 source tree.
This commit is contained in:
Peter Cai 2024-08-11 20:50:57 -04:00
parent b55df25650
commit 01fc07fd78

View file

@ -296,7 +296,7 @@ open class EuiccManagementFragment : Fragment(), EuiccProfilesChangedListener,
}
iccid.setOnLongClickListener {
requireContext().getSystemService(ClipboardManager::class.java)
requireContext().getSystemService(ClipboardManager::class.java)!!
.setPrimaryClip(ClipData.newPlainText("iccid", iccid.text))
Toast.makeText(requireContext(), R.string.toast_iccid_copied, Toast.LENGTH_SHORT)
.show()