commit | d3f4b5864dd3f822dab92dbc414b82f5eb995192 | [log] [tgz] |
---|---|---|
author | Michael Kwan <mkwan@google.com> | Thu Mar 23 18:06:42 2017 -0700 |
committer | Michael Kwan <mkwan@google.com> | Fri Mar 24 14:28:46 2017 -0700 |
tree | 275aa45d32d9cd2d113e71c8e5022800cf02b8c6 | |
parent | edb79fe7f67fe496554d69c89d8f1ead987798f0 [diff] |
Catch exception where SwipeDismissLayout cannot monitor screen off. Monitoring screen off uses a BroadcastReceiver. However, there are occasionally uses where SwipeDismissLayout is used in a context where it cannot use a BroadcastReceiver, notably when used inside of one, therefore we need to catch and handle the case where it is not applicable. Bug: 36034260 Change-Id: I253875623a28532dbc8a2dc96fc9468221b0b781