summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.h
diff options
context:
space:
mode:
author Pat Manning <patmanning@google.com> 2024-03-05 17:54:30 +0000
committer Pat Manning <patmanning@google.com> 2024-03-06 16:20:48 +0000
commitacbe18d0c2c8c5ce393e6634b5a77083dde936dc (patch)
tree6a14e69d463dd9d31c5873ec11f3ef124b1d344c /libs/input/SpriteController.h
parentacbdee143097edcdd763162fcd5d6b08c95df510 (diff)
Set draw drop shadow for vector pointer icons when sprite is set.
Drop shadow was not being retained when reloading pointers, like when the display size changes. Bug: 305193969 Test: Manual Flag: ACONFIG com.android.systemui.enable_vector_cursors STAGING Change-Id: Ic6c80166df0d64ca5709aac7ca401f442564698d
Diffstat (limited to 'libs/input/SpriteController.h')
-rw-r--r--libs/input/SpriteController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/input/SpriteController.h b/libs/input/SpriteController.h
index 04ecb3895aa2..35776e9961b3 100644
--- a/libs/input/SpriteController.h
+++ b/libs/input/SpriteController.h
@@ -151,6 +151,7 @@ private:
DIRTY_HOTSPOT = 1 << 6,
DIRTY_DISPLAY_ID = 1 << 7,
DIRTY_ICON_STYLE = 1 << 8,
+ DIRTY_DRAW_DROP_SHADOW = 1 << 9,
};
/* Describes the state of a sprite.