Heat oil in a non stick pan and saute the onions for 2 minutes. Add the garlic and cook for a further 20 seconds taking care not to burn them.
Put in the green chillies, fry for 10 seconds and add the livers. Fry on medium-high heat to sear them. Once they get a nice brown coating (2-3 minutes), cover and cook for a further 5 minutes till soft and done.
Continue to stir and add the curry leaves, salt and pepper. Fry for a minute more till the spices are incorporated. It should resembleĀ an almost dry, stir-fry kind of appearance. Serve hot.