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

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

Bug: 216643100
Change-Id: If021132cd31b3213c66932b96056821661962afb