I believe the stall warner only activates in the air as it is linked by a mechanical arm to one of the main undercarriage legs. Therefore when the weight is lifted off it in flight, the stall warner becomes 'alive' as such, but thats about all I know!
Better check with the 'eng' boys who can probably explain it in great depth!!!