Merge changes Ibf3a3ee0,I13eea877 into mnc-ub-dev

* changes:
  Add tests to ensure window insets work
  Update AppCompat tests to use Activity Rules