Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c90b16f authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Send initial airplane mode status to Context Hub

Bug: 166845383
Test: Flash, verify setting gets sent on boot
Change-Id: Ief850d6e0e1750b60cc8e4ff83b2208b41c3fb5b
parent 922b08b6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -244,6 +244,7 @@ public class ContextHubService extends IContextHubService.Stub {
        }

        if (mContextHubWrapper.supportsAirplaneModeSettingNotifications()) {
            sendAirplaneModeSettingUpdate();
            mContext.getContentResolver().registerContentObserver(
                    Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON),
                    true /* notifyForDescendants */,