commit | 2ef0f9dc95527a354846940bae675741c464e6ae | [log] [tgz] |
---|---|---|
author | Alan Newberger <alann@google.com> | Wed Sep 03 18:02:49 2014 -0700 |
committer | Alan Newberger <alann@google.com> | Wed Sep 03 18:02:49 2014 -0700 |
tree | 7f6ec3a6b6810fe27c55dc0d00c8dee736ae3d15 | |
parent | 2b084ec5c7c262003581be3584825300269adae2 [diff] |
Fix unnecessary string cast Code was taking a setting as a string, which when empty returns null, then tried to parseInt it. Instead ask for an int, which will default to zero, and things will work. Bug: 16827108 Change-Id: I5bbed091ec29fc98257a5eb18948891c43caa29f