[automerger] Move orientation initialization to onCreate. am: 11ee2f6e8f

Change-Id: Ic4928769ab2891a7a709ed57404298a988baec1d