Merge "Let IMM have internal APIs for layoutlib"