diff --git a/app/src/main/java/com/emanuelef/remote_capture/model/CaptureSettings.java b/app/src/main/java/com/emanuelef/remote_capture/model/CaptureSettings.java index a7aa65d1..d46c01d4 100644 --- a/app/src/main/java/com/emanuelef/remote_capture/model/CaptureSettings.java +++ b/app/src/main/java/com/emanuelef/remote_capture/model/CaptureSettings.java @@ -82,7 +82,7 @@ public class CaptureSettings implements Serializable { max_dump_size = getInt(intent, Prefs.PREF_MAX_DUMP_SIZE, 0); tls_decryption = getBool(intent, Prefs.PREF_TLS_DECRYPTION_KEY, false); full_payload = false; - block_quic_mode = Prefs.getBlockQuicMode(getString(intent, Prefs.PREF_BLOCK_QUIC, Prefs.BLOCK_QUIC_MODE_DEFAULT)); + block_quic_mode = Prefs.getBlockQuicMode(getString(intent, "block_quic", Prefs.BLOCK_QUIC_MODE_DEFAULT)); auto_block_private_dns = getBool(intent, Prefs.PREF_AUTO_BLOCK_PRIVATE_DNS, true); mitmproxy_opts = getString(intent, Prefs.PREF_MITMPROXY_OPTS, ""); pcapng_format = getBool(intent, Prefs.PREF_PCAPNG_ENABLED, false) && Billing.newInstance(ctx).isPurchased(Billing.PCAPNG_SKU); diff --git a/docs/app_api.md b/docs/app_api.md index da989ad9..d590b6ba 100644 --- a/docs/app_api.md +++ b/docs/app_api.md @@ -101,7 +101,7 @@ As shown above, the capture settings can be specified by using intent extras. Th | pcapng_format | bool | 62 | | true to use the PCAPNG dump format (overrides pcapdroid_trailer)* | | socks5_username | string | 64 | vpn | username for the optional SOCKS5 proxy authentication | | socks5_password | string | 64 | vpn | password for the optional SOCKS5 proxy authentication | -| block_quic_mode | string | 73 | vpn | never | always | to_decrypt (matching the decryption whitelist) | +| block_quic | string | 73 | vpn | never | always | to_decrypt (matching the decryption whitelist) | \*: paid feature