diff options
| author | Philip Milne <pmilne@google.com> | 2012-05-12 09:34:25 -0700 |
|---|---|---|
| committer | Philip Milne <pmilne@google.com> | 2012-05-14 13:42:05 -0700 |
| commit | 0f57cea8989cc03bcae19b621096e50b035b7308 (patch) | |
| tree | da1d28bc436ca424baab6c2c95163bf52e857eda /docs/html/sdk/api_diff/12/changes | |
| parent | 6704c233390743890d23338a2329dcda5709b810 (diff) | |
Add validation code for GridLayout.LayoutParams
Bug 6404882.
The supplied code in this bug sets up a table with 2 columns and then
tries to add a component in column 5. Earlier attempts to fix this
by 'doing what the user meeant' had unwanted side-effects. This CL is
intended to defend against all ways to register invalid LayoutParams
and throw IllegalArgumentExcpetion when any column index falls outside the
range [0 .. N] where N is the number of columns. It also includes the
symmetrical check for rows.
Change-Id: I958a6d16035889cd954b78108773426e8b6b6d95
Diffstat (limited to 'docs/html/sdk/api_diff/12/changes')
0 files changed, 0 insertions, 0 deletions
