Last active
September 4, 2018 10:29
-
-
Save alximw/0fc35af81f32d9de152100eba11a33ba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void setWifiEnabled(boolean wifiEnabled) { | |
| this.ctx.getApplicationContext().getSystemService("wifi").setWifiEnabled(wifiEnabled); | |
| } | |
| public void set_RINGER_MODE_SILENT() { | |
| this.ctx.getSystemService("audio").setRingerMode(RINGER_MODE_SILENT); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment