Fix kotlin nullable errors in IntentResolver

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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:097c2696279e059b10fefbf9a1039a26fe72b0a3)
Merged-In: I906bc882f4b29bf5daba6d4cd2f9523d5eadc048
Change-Id: I906bc882f4b29bf5daba6d4cd2f9523d5eadc048
4 files changed