mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-09 22:00:39 +01:00
record experiment with serialization -- no code change.
This commit is contained in:
parent
d5842e79c2
commit
d88f66a890
1 changed files with 10 additions and 2 deletions
|
@ -499,9 +499,17 @@ public class DlgDelegate {
|
||||||
|
|
||||||
private void addState( DlgState state )
|
private void addState( DlgState state )
|
||||||
{
|
{
|
||||||
|
// I'm getting serialization failures on devices pointing at
|
||||||
|
// DlgState but the code below says the object's fine (as it
|
||||||
|
// should be.) Just to have a record....
|
||||||
|
//
|
||||||
|
// Bundle bundle = new Bundle();
|
||||||
|
// DbgUtils.logf( "addState: testing serializable" );
|
||||||
|
// bundle.putSerializable( "foo", state );
|
||||||
|
// state = (DlgState)bundle.getSerializable( "foo" );
|
||||||
|
// DbgUtils.logf( "addState: serializable is ok" );
|
||||||
|
|
||||||
m_dlgStates.put( state.m_id, state );
|
m_dlgStates.put( state.m_id, state );
|
||||||
DbgUtils.logf( "addState: there are now %d active dialogs",
|
|
||||||
m_dlgStates.size() );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue