Ben Lin 72534295d3 Do isAvailable() checks when accessing AirplaneEnabler.
This instance is only initialized if isAvailable() returns true in the
first place, so we should check for it everytime we try to access it, or
else we will result in a NPE.

Bug: 271223463
Test: atest AirplaneModePreferenceControllerTest
Change-Id: I43d35b91c86517201c8ec4f458f8c0328a9fb768
2023-04-05 22:34:16 +00:00
2022-04-14 09:55:36 +00:00
2019-04-04 12:49:15 -07:00
2020-01-16 06:45:18 +00:00
2023-01-30 20:28:12 +00:00
2022-10-06 09:10:38 -07:00
2022-10-13 17:21:08 +08:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%