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

Commit f3ec548d authored by Linnan Li's avatar Linnan Li Committed by Cherrypicker Worker
Browse files

Add TAINTED to MotionFlags in input.rs



As it stands, we should add all of our event flags to the MotionFlag,
otherwise we're bound to get some unexpected crashes.

Bug: none
Test: Build

Signed-off-by: default avatarLinnan Li <lilinnan@xiaomi.corp-partner.google.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:0cc4d1d45b90376ddd5c916572e88f704c6f075a)
Merged-In: I6d53c8c0f995104fe5352356fc66fe586f6a86f1
Change-Id: I6d53c8c0f995104fe5352356fc66fe586f6a86f1
parent 8be72660
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -196,6 +196,8 @@ bitflags! {
        const NO_FOCUS_CHANGE = input_bindgen::AMOTION_EVENT_FLAG_NO_FOCUS_CHANGE;
        /// FLAG_IS_GENERATED_GESTURE
        const IS_GENERATED_GESTURE = input_bindgen::AMOTION_EVENT_FLAG_IS_GENERATED_GESTURE;
        /// FLAG_TAINTED
        const TAINTED = input_bindgen::AMOTION_EVENT_FLAG_TAINTED;
    }
}