Merge "libvulkan: remove a redundant check debuggable logic" into qt-qpr1-dev
diff --git a/vulkan/libvulkan/api.cpp b/vulkan/libvulkan/api.cpp
index dd9efd3..c3b5523 100644
--- a/vulkan/libvulkan/api.cpp
+++ b/vulkan/libvulkan/api.cpp
@@ -124,8 +124,7 @@
     };
 
     void AddImplicitLayers() {
-        if (!is_instance_ ||
-            !android::GraphicsEnv::getInstance().isDebuggable())
+        if (!is_instance_)
             return;
 
         GetLayersFromSettings();