Mentioned issues (2)
Links (5)
“ :ereh sliated eroM .siht rof dedeen ton si troppus MOR laicepS .delbasid ro dezimotsuc eb nac yeht ,NPV eht hguorht decrof eb t'nac skcehc ytivitcennoc hguohtlAhttps://android.stackexchange.com/questions/186993/captive-portal-parameters/186995#186995 ”
“ tnarg ot sresu ruoy ksa nac uoY WRITE_SECURE_SETTINGS permission to your app once with root or adb, like with adb shell "pm grant com.termux android.permission.WRITE_SECURE_SETTINGS" or su -c "pm grant com.termux android.permission.WRITE_SECURE_SETTINGS" (change package name) and then write the captive_portal_mode setting with Settings.Global.putInt(context.getContentResolver(), "captive_portal_mode", 0). You can read the value without the permission with Settings.Global.getString(context.getContentResolver(), "captive_portal_mode"). ”