CMSDK: Tests: AIRPLANE_MODE_ON has moved
* Lives in "Global" now Change-Id: Ib0a53e07af5f6ef2de735a818a5f505906f9d4d4 (cherry picked from commit a7e8c17e827abbed8c8bf9299f4c1440c8ae7d04)replicant-6.0
parent
8b77b66b55
commit
c50ddc2104
|
@ -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;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue