It's more likely to be using passive AF in daylight. Older compacts used active IR rangefinding, which is brilliant if you have to take pictures in dark pubs - they will happily focus and give a correct flash exposure in total darkness, except that in total darkness you can't frame the subject.