That's creepy. I guess it must caused by closed source Gapps and closed source bloatware
The data to the manufacturer was probably sent by the keyboard driver (xperia pro with built in keyboard), or the kernel itself. Which means they could have transacted every keypress.