Heat the oil in a nonstick frying pan over medium-high heat. Add the mustard seeds and cover.
When the seeds pop, toss in the dried chili and curry leaves.
After the leaves crackle put in the onions and fry until the edges are nicely browned.
Add the ground masala, black pepper, and salt and stir for 1 minute or until the spices are giving off their aroma. Add a tsp or two of water to prevent sticking.
Add the chickpeas and continue to fry over medium heat, stirring frequently.
As the mixture dries out add water, a few tablespoons at a time while continuing to stir.
After 10 minutes themixture will appear darker and the chickpeas will begin to break down and blend with the onions. Break the chickpeas with a spoon if they are still not broken down.