CMSDK: Tests: AIRPLANE_MODE_ON has moved

* Lives in "Global" now

Change-Id: Ib0a53e07af5f6ef2de735a818a5f505906f9d4d4
(cherry picked from commit a7e8c17e827abbed8c8bf9299f4c1440c8ae7d04)
This commit is contained in:
Michael W 2017-03-02 11:17:06 +01:00 committed by Zhao Wei Liew
parent 8b77b66b55
commit c50ddc2104
1 changed files with 2 additions and 2 deletions

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