Merge pull request #7864 from rafaeltoledo/master Bumps compile API to 29 (Q) and removes deprecated calls and unnecessary casts