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

Commit 1e5ec0a0 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Initialize mLayoutOverlayApplied

This variable is left uninitialized. On some platforms, this causes the
libinput_tests to fail when sanitizers are enabled.

Bug: 251249010
Test: m libinput_tests && adb sync data && adb shell -t /data/nativetest64/libinput_tests/libinput_tests --gtest_filter="*keyCharacterMapParcelingTest*"
Change-Id: I05063efdde9a826f7001dca828b84bbec5beb0df
parent ef19b194
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ private:
    KeyedVector<int32_t, Key*> mKeys;
    KeyboardType mType;
    std::string mLoadFileName;
    bool mLayoutOverlayApplied;
    bool mLayoutOverlayApplied = false;

    std::map<int32_t /* fromAndroidKeyCode */, int32_t /* toAndroidKeyCode */> mKeyRemapping;
    std::map<int32_t /* fromScanCode */, int32_t /* toAndroidKeyCode */> mKeysByScanCode;