- Android ${Build.VERSION.RELEASE} doesn't allow automatic certificate setup. + ${ + if (PROMPTED_CERT_SETUP_SUPPORTED) + "Automatic certificate installation failed, so it must be done manually." + else + "Android ${Build.VERSION.RELEASE} doesn't allow automatic certificate setup." + }
To allow HTTP Toolkit to intercept HTTPS traffic:
@@ -721,6 +733,9 @@ class MainActivity : AppCompatActivity(), CoroutineScope by MainScope() {
.setPositiveButton("Open security settings") { _, _ ->
startActivityForResult(Intent(Settings.ACTION_SECURITY_SETTINGS), INSTALL_CERT_REQUEST)
}
+ .setNeutralButton("Skip") { _, _ ->
+ onActivityResult(INSTALL_CERT_REQUEST, RESULT_OK, null)
+ }
.setNegativeButton("Cancel") { _, _ ->
disconnect()
}
diff --git a/app/src/main/res/drawable-nodpi/ic_tv_banner.png b/app/src/main/res/drawable-nodpi/ic_tv_banner.png
new file mode 100644
index 0000000..6f8b5c9
Binary files /dev/null and b/app/src/main/res/drawable-nodpi/ic_tv_banner.png differ
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 9372a71..34c384b 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -11,8 +11,8 @@