commit | 68669a42fb78682945a9974e50d18cd86fee9607 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Thu Sep 12 14:55:38 2013 -0700 |
committer | Raph Levien <raph@google.com> | Thu Sep 12 16:21:39 2013 -0700 |
tree | b37629ca4eb1e3438ae561c485026da35397e700 | |
parent | 2d861e87ae556b73d8bab5a6db20207a5653560f [diff] |
Fix for AIOBE at android.text.AndroidBidi.directions This fixes bug 9900288: Multiple apps crashing; AIOBE at android.text.AndroidBidi.directions. The AndroidBidi.directions() method was not correctly handling the case of a run of length 0, causing ArrayIndexOutOfBoundsException. This patch simply avoids accessing the levels array in that case. Change-Id: I036a85b7792ea3364725a87033ca74b94f0e93a1