Loading include/input/InputWindow.h +1 −1 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ public: } inline std::string getName() const { return mInfo.token ? mInfo.name : "<invalid>"; return !mInfo.name.empty() ? mInfo.name : "<invalid>"; } inline nsecs_t getDispatchingTimeout(nsecs_t defaultValue) const { Loading libs/input/InputWindow.cpp +2 −7 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ bool InputWindowInfo::overlaps(const InputWindowInfo* other) const { } status_t InputWindowInfo::write(Parcel& output) const { if (token == nullptr) { if (name.empty()) { output.writeInt32(0); return OK; } Loading Loading @@ -110,12 +110,7 @@ InputWindowInfo InputWindowInfo::read(const Parcel& from) { return ret; } sp<IBinder> token = from.readStrongBinder(); if (token == nullptr) { return ret; } ret.token = token; ret.token = from.readStrongBinder(); ret.id = from.readInt32(); ret.name = from.readString8().c_str(); ret.layoutParamsFlags = from.readInt32(); Loading services/inputflinger/dispatcher/InputDispatcher.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -3598,9 +3598,9 @@ void InputDispatcher::updateWindowHandlesForDisplayLocked( if (canReceiveInput && !noInputChannel) { ALOGV("Window handle %s has no registered input channel", handle->getName().c_str()); } continue; } } if (info->displayId != displayId) { ALOGE("Window %s updated by wrong display %d, should belong to display %d", Loading Loading
include/input/InputWindow.h +1 −1 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ public: } inline std::string getName() const { return mInfo.token ? mInfo.name : "<invalid>"; return !mInfo.name.empty() ? mInfo.name : "<invalid>"; } inline nsecs_t getDispatchingTimeout(nsecs_t defaultValue) const { Loading
libs/input/InputWindow.cpp +2 −7 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ bool InputWindowInfo::overlaps(const InputWindowInfo* other) const { } status_t InputWindowInfo::write(Parcel& output) const { if (token == nullptr) { if (name.empty()) { output.writeInt32(0); return OK; } Loading Loading @@ -110,12 +110,7 @@ InputWindowInfo InputWindowInfo::read(const Parcel& from) { return ret; } sp<IBinder> token = from.readStrongBinder(); if (token == nullptr) { return ret; } ret.token = token; ret.token = from.readStrongBinder(); ret.id = from.readInt32(); ret.name = from.readString8().c_str(); ret.layoutParamsFlags = from.readInt32(); Loading
services/inputflinger/dispatcher/InputDispatcher.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -3598,9 +3598,9 @@ void InputDispatcher::updateWindowHandlesForDisplayLocked( if (canReceiveInput && !noInputChannel) { ALOGV("Window handle %s has no registered input channel", handle->getName().c_str()); } continue; } } if (info->displayId != displayId) { ALOGE("Window %s updated by wrong display %d, should belong to display %d", Loading