Fix kotlin nullable errors in Permission tests

Fix kotlin nullable errors that were exposed by setting the retention
of android.annotation.NonNull and android.annotation.Nullable to
class retention.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:57c4e9f6b96f556d79d8482def5eadc2f5f03b3e)
Merged-In: I105b1ecf1ab177bd279a1b95ba95aa702c770c63
Change-Id: I105b1ecf1ab177bd279a1b95ba95aa702c770c63
1 file changed