Use ftl::Flags for InputTarget flags

These flags will now be type-safe.

Bug: 211379801
Test: m inputflinger_tests && adb sync data && adb shell -t /data/nativetest64/inputflinger_tests/inputflinger_tests
Change-Id: If1835151df74cfebf39ec3471f826082bea30e26
diff --git a/services/inputflinger/dispatcher/TouchedWindow.cpp b/services/inputflinger/dispatcher/TouchedWindow.cpp
index ec51662..af74598 100644
--- a/services/inputflinger/dispatcher/TouchedWindow.cpp
+++ b/services/inputflinger/dispatcher/TouchedWindow.cpp
@@ -27,9 +27,9 @@
 
 std::string TouchedWindow::dump() const {
     return StringPrintf("name='%s', pointerIds=0x%0x, "
-                        "targetFlags=0x%x, firstDownTimeInTarget=%s\n",
-                        windowHandle->getName().c_str(), pointerIds.value, targetFlags,
-                        toString(firstDownTimeInTarget).c_str());
+                        "targetFlags=%s, firstDownTimeInTarget=%s\n",
+                        windowHandle->getName().c_str(), pointerIds.value,
+                        targetFlags.string().c_str(), toString(firstDownTimeInTarget).c_str());
 }
 
 } // namespace inputdispatcher