diff options
author | 2010-09-15 13:18:44 +0200 | |
---|---|---|
committer | 2010-09-15 13:22:43 +0200 | |
commit | 279d006b1d194c597a4c6b0a72f66ea6128851fa (patch) | |
tree | a89ac61097ee600c0449148246c6803aa0ebf569 /drm/common/ReadWriteUtils.cpp | |
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
Diffstat (limited to 'drm/common/ReadWriteUtils.cpp')
0 files changed, 0 insertions, 0 deletions