Merge "Enforce max size for resizing operations." into rvc-dev am: c43997ba am: 9c0114d2 am: 7fad6207 Change-Id: Ie8d6140ccc77da7ea80862c5787f2519dd8b4a46