Update for API 18

bug 7968563
New defaults for createFromBitmap

Change-Id: I6a6f1ea8a3c40d134627adc05a046b385c10302a
WAR for compiler crash on PhaseBeam.

Bug: 8338821
Change-Id: I31c0a6e98283a25c7f2afa5e9b7d256b2c2741c1