diff options
author | Hansong Zhang <hsz@google.com> | 2020-12-09 14:25:15 -0800 |
---|---|---|
committer | Hansong Zhang <hsz@google.com> | 2020-12-10 20:35:50 +0000 |
commit | b49f86605411035817a305bed6d1ef6c389c6c7b (patch) | |
tree | 8202475076df6605480cf332997cc28d2c75054f /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 39dd3d8868792fe69ed80aaefa03b26e3491abf6 (diff) |
Bluetooth airplane listener: Check for null
Check mAirplaneHelper != null before accessing it. Note that this can
be null if Settings.Global.RADIO_BLUETOOTH is enabled in
AIRPLANE_MODE_RADIOS. We don't need to disable Bluetooth if it's
allowed in airplane mode.
Test: atest FrameworksServicesTests
Bug: 174254527
Change-Id: I93ae4ec6b75b7ffb8e75848d7779ab64593221bd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions