commit | 12b50c650c4fc61ff9f59670e3edf08a0bdb3620 | [log] [tgz] |
---|---|---|
author | roldenburg <roldenburg@google.com> | Fri Sep 01 14:41:19 2017 -0700 |
committer | Eric Erfanian <erfanian@google.com> | Thu Sep 07 15:48:52 2017 +0000 |
tree | a8fc2a8fc85fb6dd391f5736ae3ddf08ec851436 | |
parent | 97fee1cd45fa46448b07b219d5e6f2e911d4f5f0 [diff] |
Fix crash when Context is null in InCallPresenter We need to use the Context to check if the device is a ODR device for a workaround (http://cl/165734624). It turns out the Context can be null (rarely). In those cases, we should not crash. Bug: 64954483 Test: manual PiperOrigin-RevId: 167326838 Change-Id: I4d8d8de86b5e3a4eca165a562f2ddc6106052c6e