import android.app.Fragment;
import android.content.Context;
+import android.bluetooth.BluetoothManager;
import android.net.ConnectivityManager;
import android.net.NetworkPolicyManager;
import android.net.wifi.WifiManager;
policyManager.factoryReset(subscriberId);
}
+ BluetoothManager btManager = (BluetoothManager)
+ context.getSystemService(Context.BLUETOOTH_SERVICE);
+ if (btManager != null) {
+ btManager.getAdapter().factoryReset();
+ }
+
Toast.makeText(context, R.string.reset_network_complete_toast, Toast.LENGTH_SHORT)
.show();
}