Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36ade0b2 authored by Arpit Singh's avatar Arpit Singh
Browse files

[CD Cursor] Use devopts override for connected displays

Test: atest inputflinger_tests
Bug: 362719483
Flag: com.android.input.flags.connected_displays_cursor
Change-Id: Ibebd23b93e3f26faf5180914bcc2a539033ee6c2
parent 4520c230
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@
#include <dispatcher/Entry.h>
#include <include/gestures.h>
#include <input/Input.h>
#include <input/InputFlags.h>
#include <input/PointerController.h>
#include <input/PrintTools.h>
#include <input/SpriteController.h>
@@ -666,7 +667,7 @@ void NativeInputManager::setDisplayViewports(JNIEnv* env, jobjectArray viewportO
}

void NativeInputManager::setDisplayTopology(JNIEnv* env, jobject topologyGraph) {
    if (!com::android::input::flags::connected_displays_cursor()) {
    if (!InputFlags::connectedDisplaysCursorEnabled()) {
        return;
    }