mirror of
https://github.com/servo/servo.git
synced 2025-09-01 02:28:21 +01:00
Android: fix url resolution (#32422)
* fix localhost Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * android: parse search bar field in rust Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * Update comment to reflect new function behavior --------- Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
6f414df867
commit
e6ea4a9c29
3 changed files with 29 additions and 27 deletions
|
@ -211,11 +211,11 @@ public class ServoView extends SurfaceView
|
|||
mServo.stop();
|
||||
}
|
||||
|
||||
public void loadUri(Uri uri) {
|
||||
public void loadUri(String uri) {
|
||||
if (mServo != null) {
|
||||
mServo.loadUri(uri.toString());
|
||||
mServo.loadUri(uri);
|
||||
} else {
|
||||
mInitialUri = uri.toString();
|
||||
mInitialUri = uri;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue