summaryrefslogtreecommitdiff
path: root/services/inputflinger/include
diff options
context:
space:
mode:
author Arpit Singh <arpitks@google.com> 2024-04-04 11:54:20 +0000
committer Arpit Singh <arpitks@google.com> 2024-05-07 17:36:37 +0000
commit4b6ad2d04e4191edcbf6aa74ff264e3bbcc37f18 (patch)
treea4adfaa545bec109928e2e6da50c2e1da9d859b5 /services/inputflinger/include
parent150407d3d44fec83ca204787f0424a2c56a512ae (diff)
Add method to mark displays secure to hide pointer indicators
In this CL adds a method to mark some displays secure, it will be used to allow pointer controller to hide touch indicators from the mirrored displays. Test: atest PointerChoreographerTest Bug: 325252005 Change-Id: Iafe7fbc62de39f9fc40119238d7404b97068516a
Diffstat (limited to 'services/inputflinger/include')
-rw-r--r--services/inputflinger/include/PointerControllerInterface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/services/inputflinger/include/PointerControllerInterface.h b/services/inputflinger/include/PointerControllerInterface.h
index c44486fc01..6b26e81637 100644
--- a/services/inputflinger/include/PointerControllerInterface.h
+++ b/services/inputflinger/include/PointerControllerInterface.h
@@ -143,6 +143,11 @@ public:
/* Sets the custom pointer icon for mice or styluses. */
virtual void setCustomPointerIcon(const SpriteIcon& icon) = 0;
+
+ /* Sets the flag to skip screenshot of the pointer indicators on the display matching the
+ * provided displayId.
+ */
+ virtual void setSkipScreenshot(int32_t displayId, bool skip) = 0;
};
} // namespace android