commit | 23731997cd37a8f433270ab5de0170b26a0fb572 | [log] [tgz] |
---|---|---|
author | Jack He <siyuanh@google.com> | Wed Dec 26 13:58:05 2018 -0800 |
committer | Jack He <siyuanh@google.com> | Wed Dec 26 13:58:05 2018 -0800 |
tree | 425495cb968515a933d8f934d0635e245addb6d5 | |
parent | 4da763530a6b17b7b9607ec30dc45d997cf03289 [diff] |
HFP: Check if name is nullptr before calling GetStringUTFChars * The name parameter in phoneStateChangeNative() is optional and can be null * We need to check whether it is null before calling GetStringUTFChars Test: make, connect to BT car kits Change-Id: Iad4be23f8ca1408742e04c37844f82c46b86c086