From dbcc5cfba02faa56604d7959e11010cbff5b22d2 Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Sun, 7 May 2017 11:46:59 +0200 Subject: [PATCH] Fix incorrect logical expression for intent check --- src/anbox/android/intent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anbox/android/intent.cpp b/src/anbox/android/intent.cpp index 2fcd8f0..4f5e659 100644 --- a/src/anbox/android/intent.cpp +++ b/src/anbox/android/intent.cpp @@ -35,7 +35,7 @@ std::ostream &operator<<(std::ostream &out, const Intent &intent) { out << " " << "package=" << intent.package << " "; if (!intent.component.empty()) out << "component=" << intent.component << " "; - if (!intent.categories.size() > 0) { + if (intent.categories.size() > 0) { out << "categories=[ "; for (const auto &category : intent.categories) out << category << " "; out << "] ";