AltBeacon / android-beacon-library

Allows Android apps to interact with BLE beacons
Apache License 2.0
2.83k stars 834 forks source link

Partial fix for ScanState.restore IllegalStateException #1130

Closed paolorotolo closed 1 year ago

paolorotolo commented 1 year ago

This PR adds IllegalStateException to caught exceptions during state restoring and considers them as deserialization errors.

This doesn't fix all the issues of #1129 like excessive file growth, but it's a quick fix to avoid crashes in existing apps.

paolorotolo commented 1 year ago

Fixed in #1131