Fix Keyboard Theme update when device orientation changed am: 6ae09365a5

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672

Change-Id: I33a6fa7093b4633fc5bbd535b2c3d9d287022bc8