Reland "Keep runtime insets types during layout"

This reverts commit 168bfd8e91292bd97d55bd18720bde46b5eef4ab.

Suspicious regression is not reproducible. Will keep communicate with
the POC and try to resolve them later.

Test: Treehugger
Test: testHideIme_WMS
Bug: 161689946
Change-Id: I029f94efb6b7054215888c6491e0d72cccf2ce09
10 files changed