[automerge] Use the orientation from the config object not resources 2p: b73f1acdab am: 3b54e697be

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16763691

Change-Id: I4726a5d4abb2e35fc904eb32b75f645015b1ea8e