CMSDK: Tests: AIRPLANE_MODE_ON has moved
* Lives in "Global" now Change-Id: Ib0a53e07af5f6ef2de735a818a5f505906f9d4d4
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user