I've heard that a hanger IS considered inside.

Sigh.

It might be a per-base thing, just like what is played when. Some bases fly the Flag 24/7 and so never play To the Colors and so no-one ever salutes.