From 4b6ad2d04e4191edcbf6aa74ff264e3bbcc37f18 Mon Sep 17 00:00:00 2001 From: Arpit Singh Date: Thu, 4 Apr 2024 11:54:20 +0000 Subject: 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 --- services/inputflinger/include/PointerControllerInterface.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'services/inputflinger/include') 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 -- cgit v1.2.3-59-g8ed1b