Merge "b/12068020 add nonce to InputDeviceDescriptor"

This commit is contained in:
RoboErik 2013-12-19 21:15:04 +00:00 committed by Android (Google) Code Review
commit 95c6675db1

View File

@ -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;
};
/*