Check if debug info available

This commit is contained in:
M66B
2023-12-16 13:16:25 +01:00
parent ab3956eec4
commit c1eaa33c10
4 changed files with 18 additions and 8 deletions

View File

@@ -909,10 +909,13 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
}, new Callable<Boolean>() {
@Override
public Boolean call() {
if (!drawerLayout.isLocked(drawerContainer))
drawerLayout.closeDrawer(drawerContainer);
onDebugInfo();
return true;
if (DebugHelper.isAvailable()) {
if (!drawerLayout.isLocked(drawerContainer))
drawerLayout.closeDrawer(drawerContainer);
onDebugInfo();
return true;
} else
return false;
}
}).setExternal(true));