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.

Change-Id: I105b1ecf1ab177bd279a1b95ba95aa702c770c63
3 files changed