This reverts commit6bf6eb7d5f. and alsofbc21e126fI have also removed all unnecessary calls to resolveLayoutDirection(int). This is possible as we are resolving layout params on every child of a ViewGroup as of commitfcc3348f61Change-Id: I262a375b03fcc3c9261cbe2edebb6ec42ec2e186