-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Pressing the Android back button should call servo.goBack instead of hiding the app #21401
Comments
Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the If you intend to work on this issue, then add |
All that needs to be done here is to override |
I'll try this out. @highfive: assign me |
Hey @carloabelli! Thanks for your interest in working on this issue. It's now assigned to you! |
@carloabelli you might want to look at this: https://github.com/servo/servo/wiki/Building-for-Android#working-on-the-user-interface-without-building-servo |
Following the build instructions, when trying to compile using
Is there another aar I should download besides |
@carloabelli did you select the build variant "mainArmv7Debug"? |
@carloabelli it looks like |
also, make sure to checkout the latest version of servo. |
I've updated the instructions for the command line builds: https://github.com/servo/servo/wiki/Building-for-Android#working-on-the-user-interface-without-building-servo |
Okay I will try building it again tonight using the new command line instructions. I'll also make sure to get the lastest version |
Fix Android back button behavior Pressing the back button should call mServoView.goBack if possible. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [X] These changes fix #21401 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21439) <!-- Reviewable:end -->
… and if we can't go back, it should hide the app.
The text was updated successfully, but these errors were encountered: