commit | c6e1b293a7cca6804a0a3ea4923beea16bd6dc0e | [log] [tgz] |
---|---|---|
author | Jake Hamby <jhamby@google.com> | Tue Jan 11 13:27:50 2011 -0800 |
committer | Jake Hamby <jhamby@google.com> | Tue Jan 11 13:27:50 2011 -0800 |
tree | d6975887ca3eb6b2d632eff4315fb9a865e72246 | |
parent | 844f323ee5fc7200b201eb23d3a37e9aa9a10cec [diff] |
Don't throw exception on unexpected BT device addition. Fix for reported bug where settings app crashes while trying to share a picture. Bug report showed IllegalStateException thrown with message "Got onDeviceAdded, but cachedDevice already exists." Changed code to print an error message to the log and ignore the unexpected event, rather than throwing an uncaught exception that crashes the app. Bug: 2192884 Change-Id: I016be6a1616b317b2289768d18ae9f069a49445e