Search in sources :

Example 1 with TetheringManager

use of android.net.TetheringManager in project android_packages_apps_Settings by omnirom.

the class TetherService method disableTethering.

private void disableTethering(final int tetheringType) {
    final TetheringManager tm = (TetheringManager) getSystemService(Context.TETHERING_SERVICE);
    tm.stopTethering(tetheringType);
}
Also used : TetheringManager(android.net.TetheringManager)

Aggregations

TetheringManager (android.net.TetheringManager)1