diff options
author | Hansong Zhang <hsz@google.com> | 2020-12-09 14:25:15 -0800 |
---|---|---|
committer | Myles Watson <mylesgw@google.com> | 2021-03-25 14:48:39 -0700 |
commit | b68b97f2e31e4bdff2bdcc8f94309492b8b87ff1 (patch) | |
tree | 5f1ed10bc08f05ca0cab3ad88181114390ca4797 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 32c1220518297a842840b622679777701e2c631e (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
(cherry picked from commit b49f86605411035817a305bed6d1ef6c389c6c7b)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions