diff --git a/app/build.gradle b/app/build.gradle
index 6c1bf394647ea4632ee072cd280f4d3e3be719b5..1fa344b8d2022dfdd39a8ca68a54f67ed1b3fc22 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -344,7 +344,6 @@ android {
    * normalProductionFatDebug -> Bitmask development build, includes all ABIS
    * customProductionFatwebDebug -> branded development build, includes all ABIs, for distribution through a download page
    * normalProductionFatWebDebug ->  Bitmask development build, includes all ABIS, for distribution through a download page
-   * customInsecureFatDebug -> branded development build, doesn't checks certificates (for test server setup w/o valid certificates), includes all ABIs
    * normalInsecureFatDebug -> Bitmask development build, doesn't checks certificates (for test server setup w/o valid certificates), includes all ABIs
    *
    * Branded Releases:
@@ -377,10 +376,12 @@ android {
     def buildTypeName = variant.buildType.name
     // flavorDimensions "branding" -> 0, "implementation" -> 1, "abi" -> 2
     def supportsSplitApk = variant.flavors[0].splitApk
+    def branding = variant.flavors[0].name
     // To check for a certain build type, use variant.buildType.name == "<buildType>"
     if (((names.contains("insecure") && !names.contains("fat")) ||
             (names.contains("insecure") && buildTypeName.contains("beta")) ||
             (names.contains("insecure") && buildTypeName.contains("release")) ||
+            (names.contains("insecure") && branding.contains("custom")) ||
             (buildTypeName.contains("debug") && !(names.contains("fatweb") || names.contains("fat"))) ||
             (names.contains("fatweb") && buildTypeName.contains("beta")) ||
             (!supportsSplitApk && !names.contains("fat")))