aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/org/cyanogenmod
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/org/cyanogenmod')
-rw-r--r--tests/src/org/cyanogenmod/tests/settings/unit/CMPartnerInterfaceTest.java4
1 files changed, 2 insertions, 2 deletions
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;
}
/////////////////////////////////////////////////////