setTheme

open fun setTheme(@StyleRes themeResId: Int)

This should be called from setTheme to notify AppCompat of what the current theme resource id is.