aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael W <baddaemon87@gmail.com>2017-03-02 11:17:06 +0100
committerZhao Wei Liew <zhaoweiliew@gmail.com>2017-03-05 15:40:06 +0000
commitc50ddc2104248a65b4b17f8b3cf70fa91d82588f (patch)
treef46627f4600c78ce7d22f2dd80b8503786a7af07
parent8b77b66b55372e7f1e2892772d22b0fb00c22ba1 (diff)
downloadvendor_cmsdk-c50ddc2104248a65b4b17f8b3cf70fa91d82588f.zip
vendor_cmsdk-c50ddc2104248a65b4b17f8b3cf70fa91d82588f.tar.gz
vendor_cmsdk-c50ddc2104248a65b4b17f8b3cf70fa91d82588f.tar.bz2
CMSDK: Tests: AIRPLANE_MODE_ON has moved
* Lives in "Global" now Change-Id: Ib0a53e07af5f6ef2de735a818a5f505906f9d4d4 (cherry picked from commit a7e8c17e827abbed8c8bf9299f4c1440c8ae7d04)
-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;
}
/////////////////////////////////////////////////////