Merge "Handle bad ninepatch data." into lmp-mr1-dev