I think the dingus which determines Air/Ground Transition stays in ground mode for several seconds (4?) after the main gear struts compress..
Wasnt there a case of an A320 bouncing because the pilot touched down with some thrust added, and after the pilot retarded the levers, the ground spoilers deployed in the air and the second landing was so hard it damaged the aircraft? I beleive it was an Air India A320?