commit | db8d8ae565b3db6a5e3187170dcb7b281a79f9da | [log] [tgz] |
---|---|---|
author | Ajay Panicker <apanicke@google.com> | Thu Jul 21 10:39:14 2016 -0700 |
committer | Ajay Panicker <apanicke@google.com> | Tue Jul 26 12:47:02 2016 -0700 |
tree | a312ff2a0176c651f4dc2a07c7a3741524bbd2d9 | |
parent | 74dcd4eb708e4572b8bfdd701aa2bbe2b4b9f52f [diff] |
Don't use SMS database until after the phone is unlocked When the device is encrypted and a passcode is set, the SMS database isn't available and the MAP service crashes when trying to access it. The service will now respond with OBEX_SERVICE_UNAVAILABLE until the phone is unlocked. At this point, the SMS database will notify the content observer that all the messages are available, and send corresponding events. Bug: 29990836 Change-Id: I53f12d0e114212d94f16b56df7c7dbe73f6254df