Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix off-by-one bug with header views for API 10 #10

Merged
merged 1 commit into from
Nov 25, 2014

Conversation

akent
Copy link
Contributor

@akent akent commented Nov 25, 2014

If you add a header view to your list, on API 10 and earlier there is a bug that means the preference click is off-by-one.

It was fixed upstream here: aosp-mirror/platform_frameworks_base@2d43d28

... but to fix it retrospectively, this patch uses reflection to override the onItemClick handler to fix the behaviour in the same way as the upstream fix.

kolavar added a commit that referenced this pull request Nov 25, 2014
Fix off-by-one bug with header views for API 10
@kolavar kolavar merged commit 9eac3cd into kolavar:master Nov 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants