@lore Android has changed quite a bit over time. There is a list of companies and products that haven't properly released their source code. I presume that Android has gone with more "permissive licenses" to mitigate the damages by the companies who think they don't have to abide by laws. Android has also cracked down on bad practices and support in the past.
Apple does release code but it's due to licensing if I recall correctly.