am d9e113f0: b/12068020 add nonce to InputDeviceDescriptor. Do not merge
* commit 'd9e113f0e0feac1a801f8339d2f907302bd432c5': b/12068020 add nonce to InputDeviceDescriptor. Do not merge
This commit is contained in:
commit
ffd353a73e
|
@ -46,6 +46,11 @@ struct InputDeviceIdentifier {
|
||||||
// Ideally, the way this value is computed should not change between Android releases
|
// Ideally, the way this value is computed should not change between Android releases
|
||||||
// because that would invalidate persistent settings that rely on it.
|
// because that would invalidate persistent settings that rely on it.
|
||||||
String8 descriptor;
|
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;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue