NPE on com.android.server.autofill.RemoteFillService$PendingRequest.cancel() NPE on com.android.server.autofill.RemoteFillService$PendingRequest.cancel() android android

NPE on com.android.server.autofill.RemoteFillService$PendingRequest.cancel()


This is not an issue with your app but with specific Android OEMs. Seems to be happening more frequently on Samsung Devices and not seen on Pixel Devices. Here is an issue report to Google which is closed as 'Won't Fix'.https://issuetracker.google.com/issues/123311621

Since the crash is happening because of autofill. I would recommend disabling autofill for the specific view by setting importanForAutofill as false/no.https://developer.android.com/reference/android/R.attr.html#importantForAutofill