commit | 2bb21a91620763c7f385f8d3fe3be2377d00324c | [log] [tgz] |
---|---|---|
author | Hemant Gupta <hemantg@codeaurora.org> | Wed Nov 14 16:30:40 2018 +0530 |
committer | Myles Watson <mylesgw@google.com> | Wed Nov 14 14:35:14 2018 +0000 |
tree | 18f53109b81b23cf60d8816b9e94c12c45d1eb8b | |
parent | c75b0b9d3f5612da98e5562e6bac65b6472df8fd [diff] |
Bluetooth: Prevent BT crash using adb commands Use case: 1) Start OppLauncher activity or PbapActivity using adb shell command Failure: "Unfortunately, Bluetooth share has stopped" error comes. Root cause: Observed NPE because no action was supplied during opening activity. Fix: Add NULL check before process action value to prevent force close in profile. Fixes: 119540033 Test: Performed sanity with above mentioned use case. Change-Id: Ic9cc8079fd2c1c8b82c5b5062f253828483ed7e9