There was no redundancy in the 737 MAX sensor hardware that detects stalling. Nothing to do with software written in India.
You can have an extra attack sensor if you buy the special tech package for an extra 47m, you get bluetooth in the first class, and a redundant autopilot too