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

Commit ffd353a7 authored by RoboErik's avatar RoboErik Committed by Android Git Automerger
Browse files

am d9e113f0: b/12068020 add nonce to InputDeviceDescriptor. Do not merge

* commit 'd9e113f0':
  b/12068020 add nonce to InputDeviceDescriptor. Do not merge
parents 85864b87 d9e113f0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -46,6 +46,11 @@ struct InputDeviceIdentifier {
    // Ideally, the way this value is computed should not change between Android releases
    // because that would invalidate persistent settings that rely on it.
    String8 descriptor;

    // A value added to uniquely identify a device in the absence of a unique id. This
    // is intended to be a minimum way to distinguish from other active devices and may
    // reuse values that are not associated with an input anymore.
    uint16_t nonce;
};

/*