| Summary: | SDLActivity.java build fails - mHapticHandler is not a member of SDLJoystickHandler_API12 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | ny00 |
| Component: | haptic | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P1 | CC: | sylvain.becker |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Android (All) | ||
|
Description
ny00
2017-08-13 18:06:54 UTC
An additional comment - There's also a runtime issue, as the static methods "pollHapticDevices" and "hapticRun" cannot be found (see SDL_Android_Init). Moving them from SDLJoystickHandler_API12 into SDLActivity resolves this issue. (And then, weirdly enough, my previously suggested mHapticHandler -> SDLActivity.mHapticHandler change shall be unnecessary.) To summarize: Ignore my original comment on the bug and move these static methods into SDLActivity. Can you provide a tested patch? I don't have an Android testing environment right now. Thanks! |