diff options
| author | Dianne Hackborn <hackbod@google.com> | 2013-02-12 11:42:51 -0800 | 
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2013-02-12 11:42:51 -0800 | 
| commit | 19470ecc0f3fa4f95fd55db722cb8e43e956da5e (patch) | |
| tree | 8008a2392a7a556ecdcd76e50fa4d98eb5ab005e /docs/html/sdk/api_diff/11 | |
| parent | b41af58f49d371cedf041443d20a1893f7f6c840 (diff) | |
Fix issue #6595555: deal better with fragmentless headers.
If you constructed a preference activity whose first header
didn't have a fragment, this would crash in two-pane mode
because it would try to use that header as the initially
selected header but not have a fragment to show.
We need to have a fragment for whatever header we switch to,
so the code now looks for the first header with a fragment
as the initial header.
Also added some error checks to throw more descriptive
exceptions on bad headers -- when there is no header at all
with a fragment, if the app tries to manually switch to a
header without a fragment.
Change-Id: Ia84221fcb2fe5755bb674e0606ac2a1fcde4cdc9
Diffstat (limited to 'docs/html/sdk/api_diff/11')
0 files changed, 0 insertions, 0 deletions
