-
Notifications
You must be signed in to change notification settings - Fork 33
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
[Bug]: am reports ActivityManager.START_SUCCESS but activity is not launched #7
Comments
Possible duplicate of, or at least related to, termux/termux-api#311 |
Looks like I found a solution for this bug here. |
It is not a bug of The |
I know it is Android design. But still think it is a bug because it is Android behaviour not handled by app. You can try to ask for this permission on |
And one more thing: I did not see any errors or warnings in logcat after failing to start an activity. |
It comes as part of bootstrap and rarely ever updated.
To check the permission, you need a
How and where are you running the |
Is there a way to reflect PermissionManager's checkPermission?
I checked it via |
@twaik thank you for starting the issue! i was battling with similar problem and no hints of permission requirement were deceptive. (was not able to open links in termux/vncserver when connecting from vnc viewer app) |
Looks like I found a way to check if
It worked on my device but it requires some changes in
|
Ok, this solution works even without external dependencies. |
Problem description
As I said in description, am reports ActivityManager.START_SUCCESS but activity is not launched.
What steps will reproduce the bug?
sshd
am start --user 0 smth
What is the expected behavior?
Android should start activity, report error starting activity or perform some actions to make starting activity possible.
System information
The text was updated successfully, but these errors were encountered: