Browse Source

CMSDK: Tests: AIRPLANE_MODE_ON has moved

* Lives in "Global" now

Change-Id: Ib0a53e07af5f6ef2de735a818a5f505906f9d4d4
(cherry picked from commit a7e8c17e82)
replicant-6.0
Michael W 3 years ago
committed by Zhao Wei Liew
parent
commit
c50ddc2104
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tests/src/org/cyanogenmod/tests/settings/unit/CMPartnerInterfaceTest.java

+ 2
- 2
tests/src/org/cyanogenmod/tests/settings/unit/CMPartnerInterfaceTest.java 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;
}

/////////////////////////////////////////////////////


Loading…
Cancel
Save