From c50ddc2104248a65b4b17f8b3cf70fa91d82588f Mon Sep 17 00:00:00 2001 From: Michael W Date: Thu, 2 Mar 2017 11:17:06 +0100 Subject: CMSDK: Tests: AIRPLANE_MODE_ON has moved * Lives in "Global" now Change-Id: Ib0a53e07af5f6ef2de735a818a5f505906f9d4d4 (cherry picked from commit a7e8c17e827abbed8c8bf9299f4c1440c8ae7d04) --- .../org/cyanogenmod/tests/settings/unit/CMPartnerInterfaceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/src/org') diff --git a/tests/src/org/cyanogenmod/tests/settings/unit/CMPartnerInterfaceTest.java b/tests/src/org/cyanogenmod/tests/settings/unit/CMPartnerInterfaceTest.java index ca5b681..c2b01c2 100644 --- a/tests/src/org/cyanogenmod/tests/settings/unit/CMPartnerInterfaceTest.java +++ b/tests/src/org/cyanogenmod/tests/settings/unit/CMPartnerInterfaceTest.java @@ -104,8 +104,8 @@ public class CMPartnerInterfaceTest extends AndroidTestCase { } private boolean getAirplaneModeEnabled() { - return Settings.System.getInt(getContext().getContentResolver(), - Settings.System.AIRPLANE_MODE_ON, 0) == 1; + return Settings.Global.getInt(getContext().getContentResolver(), + Settings.Global.AIRPLANE_MODE_ON, 0) == 1; } ///////////////////////////////////////////////////// -- cgit v1.1