CodenameOne icon indicating copy to clipboard operation
CodenameOne copied to clipboard

Implemented API 31+ vibration service code to replace depreciated code

Open u7484052 opened this issue 2 years ago • 4 comments

Added code that fixes the following issue: https://github.com/codenameone/CodenameOne/issues/3702

I added retro-compatibility as well if needed.

u7484052 avatar Oct 28 '23 01:10 u7484052

Can you remove the extra files from the commit? There are 12 project files that shouldn't be a part of the commit.

shai-almog avatar Oct 28 '23 11:10 shai-almog

Also please fix the compilations errors seen in the CI run. I'm guessing there's a missing import and you should use numeric values instead of constants for backward compatibility with older compilers.

shai-almog avatar Oct 28 '23 11:10 shai-almog

Yeah sorry, I have fixed the importing error and removed the unnecessary files from the PR

u7484052 avatar Oct 29 '23 06:10 u7484052

This is still failing. I'm guessing it requires a fix to the library in the classpath but I'm not sure if this is something you can do. If not I'll have to look into it.

shai-almog avatar Oct 29 '23 11:10 shai-almog