commit | 8fc4ae49386e7f9f47ff8100ebb75fda2f0731aa | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Fri Nov 08 16:45:16 2019 -0800 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Mon Nov 11 08:15:56 2019 -0800 |
tree | 8d36a8e5a88046542fbb7f22ac5b385f6aaa591b | |
parent | 423c3a32d6f3aad5484232be208530b05b1116d0 [diff] |
FocusRequester: fix NPE Fix NPE and potential race condition in FocusRequester.dispatchFocusResultFromExtPolicy where mFocusDispatcher was checked against null, but the method didn't return in that case. Bug: 142278598 Test: Android Auto with phone call and custom focus policy Change-Id: I88447a255132c94f8c2fbf97a1e3ee88f6d2e993 Merged-In: I88447a255132c94f8c2fbf97a1e3ee88f6d2e993