commit | 279d006b1d194c597a4c6b0a72f66ea6128851fa | [log] [tgz] |
---|---|---|
author | Sonia Serafimova <sonia.serafimova@sonyericsson.com> | Wed Sep 15 13:18:44 2010 +0200 |
committer | Johan Redestig <johan.redestig@sonyericsson.com> | Wed Sep 15 13:22:43 2010 +0200 |
tree | a89ac61097ee600c0449148246c6803aa0ebf569 | |
parent | 15f0a79a81fd18211603587bcd46eee0e37ced4d [diff] |
Prevent unhandled exception in NinePatchDrawable Added null check in computeBitmapSize() to avoid unhandled exception "java.lang.NullPointerException" at android.graphics.Rect.<init>(Rect.java:72). This problem was discovered in the wild. Change-Id: I8a4729ceadcfc9744f11b8ceafdf24d6de88c645