CMSDK: Tests: AIRPLANE_MODE_ON has moved

* Lives in "Global" now

Change-Id: Ib0a53e07af5f6ef2de735a818a5f505906f9d4d4
This commit is contained in:
Michael W
2017-03-02 11:17:06 +01:00
committed by Zhao Wei Liew
parent 2298aad316
commit a7e8c17e82

View File

@@ -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;
}
/////////////////////////////////////////////////////