summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.h
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2021-01-28 22:58:37 +0100
committer Marin Shalamanov <shalamanov@google.com> 2021-02-18 18:54:41 +0100
commit463ad8ee22fecc4e0f53757c618c5e77239f6467 (patch)
tree6a2030d3a1c7a4b28a024fac5fb3c1359609185a /libs/input/PointerController.h
parentefbe5db94e4d2962705cc7b167509f57a7c77ab3 (diff)
Introduce DynamicDisplayInfo
In this CL we introduce SurfaceContorl.getDynamicDisplayInfo which replaces the current seprate calls for supported and active display mode, supproted and active color modes and HDR capabilities. This way display capabilities can be queried atomically. Additionally this CL pipes an DisplayMode IDs from SurfaceFlinger and updates LocalDislayAdapter to use IDs instead of array indices. Test: presubmit Bug: 159590486 Bug: 175678215 Change-Id: I169e3055d07905e2330e11f158b61ffd366f97e6
Diffstat (limited to 'libs/input/PointerController.h')
-rw-r--r--libs/input/PointerController.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/input/PointerController.h b/libs/input/PointerController.h
index 827fcf1e1bc1..97567bab202b 100644
--- a/libs/input/PointerController.h
+++ b/libs/input/PointerController.h
@@ -21,7 +21,6 @@
#include <gui/DisplayEventReceiver.h>
#include <input/DisplayViewport.h>
#include <input/Input.h>
-#include <ui/DisplayInfo.h>
#include <utils/BitSet.h>
#include <utils/Looper.h>
#include <utils/RefBase.h>