Add flag for removal of inputchannel from windowstate
This will help clean up the InputChannel lifecycle. Eventually, we could
switch to only having InputChannel in the app process, which would allow
us to return an InputReceiver instead.
Flag: com.android.input.flags.remove_input_channel_from_windowstate
Bug: 323450804
Test: launch an app and then reopen from recents
Change-Id: I6d1789078b8a63ef774a2f4c1113d69ae2245fe0
diff --git a/libs/input/input_flags.aconfig b/libs/input/input_flags.aconfig
index 96f8b05..fad6e37 100644
--- a/libs/input/input_flags.aconfig
+++ b/libs/input/input_flags.aconfig
@@ -15,7 +15,14 @@
bug: "271455682"
}
- flag {
+flag {
+ name: "remove_input_channel_from_windowstate"
+ namespace: "input"
+ description: "Do not store a copy of input channel inside WindowState."
+ bug: "323450804"
+}
+
+flag {
name: "enable_input_event_tracing"
namespace: "input"
description: "Set to true to enable input event tracing, including always-on tracing on non-user builds"