am a15eeacf
: Merge "Fix bug where it wasn\'t possible to add widgets" into jb-mr1-lockscreen-dev
* commit 'a15eeacff99650cb9151106438fb61b73d4e749a': Fix bug where it wasn't possible to add widgets
This commit is contained in:
@ -1125,7 +1125,7 @@ public class LockPatternUtils {
|
||||
if (widgets == null) {
|
||||
return false;
|
||||
}
|
||||
if (index < 0 || index >= widgets.length) {
|
||||
if (index < 0 || index > widgets.length) {
|
||||
return false;
|
||||
}
|
||||
int[] newWidgets = new int[widgets.length + 1];
|
||||
|
Reference in New Issue
Block a user