Summary: isSupported() should skip tray initialization in case of headless Reviewed-by: art, ant
Summary: small refactoring Reviewed-by: dcherepanov