-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
java.lang.NoSuchMethodException: startActivityAsUserWithFeature #4704
Comments
Thank you. Fixed by abc64b4 on |
Thanks, it's working like a charm. :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Describe the bug
Using the new
MOD+k
shortcut (in UHID) failed inActivityManager.startActivityAsUserWithFeature()
with this backtrace:The reason is that my device uses SDK 27 while this method was added later (SDK 30?) in this commit. So when
startActivityAsUserWithFeature()
fails you should probably usestartActivityAsUser()
instead, because it works the same way (callingFeatureId
isnull
). MaybestartActivityAsUser()
should be used directly, even if it's deprecated?The text was updated successfully, but these errors were encountered: