HoloLens 2 switched to <strike>Android</strike> ARM and UWP apps running on heavily modified Android, but imo the insistence on hand tracking as the primary interface still walled it off from the other Android XR developer communities.
Yeah y'all are right, I can't find anything to support the notion the HoloLens 2 uses an Android fork for its OS. (Possibly the person who told me this had it confused with Magic Leap...?)