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
Loading
Please register or sign in to comment