Currently, pasting from clipboard has a lot of null checks to ensure that it doesn't crash by pasting a null clipboard. This was in response to the NullPointerException crash that happened when pasting. The null checks were assumed to be the solution, but problem could have also been caused by a Kotlin language feature interacting with the Java code that Android provides. Look into this to make sure the correct solution was implemented.
Currently, pasting from clipboard has a lot of null checks to ensure that it doesn't crash by pasting a null clipboard. This was in response to the NullPointerException crash that happened when pasting. The null checks were assumed to be the solution, but problem could have also been caused by a Kotlin language feature interacting with the Java code that Android provides. Look into this to make sure the correct solution was implemented.