Fix lint by using recordEventForUserInBackground GitOrigin-RevId: 3412c9a997ce0921b25408fc584060e528843b88