Skip to content

Error #38

@bunnyyTheFreak

Description

@bunnyyTheFreak

frameworks/base/services/core/jni/com_android_server_input_InputManagerService.cpp:254:18: error: 'android::NativeInputManager::pokeUserActivity' hides overloaded virtual function [-Werror,-Woverloaded-virtual]
virtual void pokeUserActivity(nsecs_t eventTime, int32_t eventType);

frameworks/native/services/inputflinger/InputDispatcher.h:260:18: note: hidden overloaded virtual function 'android::InputDispatcherPolicyInterface::pokeUserActivity' declared here: different number of parameters (3 vs 2)
virtual void pokeUserActivity(nsecs_t eventTime, int32_t eventType, int32_t keyCode) = 0;
^
frameworks/base/services/core/jni/com_android_server_input_InputManagerService.cpp:1239:34: error: allocating an object of abstract class type 'android::NativeInputManager'
NativeInputManager* im = new NativeInputManager(contextObj, serviceObj,

frameworks/native/services/inputflinger/InputDispatcher.h:260:18: note: unimplemented pure virtual method 'pokeUserActivity' in 'NativeInputManager'
virtual void pokeUserActivity(nsecs_t eventTime, int32_t eventType, int32_t keyCode) = 0;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions