Merge "Fix a bug in parsing app widget state XML." into lmp-dev