commit | 9ae68f467ec168e584821ddc0148d26e82bdd99d | [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 14:03:46 2019 -0800 |
tree | 6e08ffd0596bb2e056b4f276a2f49869e27e74c3 | |
parent | 2080a05995af551413b3ca9a89c55e6c1d09acd8 [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