Merge "Fix incorrect left shifts." am: d2b5a53ef8 am: 497d0dd5e5 am: 5366db6702
am: 1892e0965b

Change-Id: I486fd4f29b045241413cab606cdf3920e7f085ab