diff options
| author | Sonia Serafimova <sonia.serafimova@sonyericsson.com> | 2010-09-15 13:18:44 +0200 |
|---|---|---|
| committer | Jean-Baptiste Queru <jbq@google.com> | 2010-09-26 09:07:02 -0700 |
| commit | d45a33554ca6c18ed81e45320998b9e4f4680379 (patch) | |
| tree | 67a52d080094a2a46200387ba552e085bbb6e682 /libs/rs/rsg_ScriptJavaClass.cpp | |
| parent | beabe75a842d521b005999460d3a6361ab32108e (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: I9d40629a052f1390e1811288af6209d8cc3f679b
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions
