Merge changes from topics "awickham-api-cleanup", "keyboard-on-back" into main

* changes:
  Cleanup API checks for P, Q, and R.
  Add a WindowInsetsAnimationCallback to listen to IME changes.
  Update minSdk to 30.