Do you think we wanted to do a crazy runtime patch and didn't explore every other short/medium-term option? Do you think we wanted to write our own build system (Buck)? Or our own JS view layer (React)? Our own PHP virtual machine (HHVM)? Our own database (Presto/RocksDB)? Our own IDE (Nuclide)?
You "laughing" tells me you have never worked on a large codebase with hundreds of engineers shipping very quickly, so you can't empathize with the sort of problems that come up.
Btw, every time Google Apps hit the limit they merely bumped the limit in AOSP and dropped support for old OS versions...