fix crash when m_aType is '*'

Change-Id: If2c4ca98814a58b785cd2670eac1e522e70464fd
expose a way to drop ownership of a window from builder tree

Change-Id: I6f6bff32271ed1d6c328ba211a6b1249fda039dd