The 5.6 magnitude event damaged more than 2,200 houses and displaced thousands of people in West Java.