Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Restrict input device descriptor #768

Closed
M66B opened this issue Nov 15, 2013 · 6 comments
Closed

Restrict input device descriptor #768

M66B opened this issue Nov 15, 2013 · 6 comments

Comments

@M66B
Copy link
Owner

M66B commented Nov 15, 2013

http://developer.android.com/reference/android/view/InputDevice.html

@M66B
Copy link
Owner Author

M66B commented Nov 15, 2013

Input device has no useful ID's that can be used.

@M66B M66B closed this as completed Nov 15, 2013
@bitterskittles
Copy link
Contributor

properties of an InputDevice, coupled with other data, can be used to create a unique fingerprint.
please consider reopening the issue

@M66B M66B reopened this Nov 15, 2013
@M66B
Copy link
Owner Author

M66B commented Nov 15, 2013

I don't know yet how to fake ID's.

@M66B
Copy link
Owner Author

M66B commented Nov 15, 2013

"An input device descriptor uniquely identifies an input device. Its value is intended to be persistent across system restarts, and should not change even if the input device is disconnected, reconnected or reconfigured at any time."

I am afraid that restricting this will lead to trouble.

@M66B
Copy link
Owner Author

M66B commented Nov 15, 2013

On the other hand:

"The input device descriptor returned by getDescriptor() should only be used when an application needs to remember settings associated with a particular input device."

@M66B M66B closed this as completed in deabd20 Nov 15, 2013
@bitterskittles
Copy link
Contributor

thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants