Merge "Fix hasSurfaceInsets check when creating hardware renderer" into lmp-mr1-dev