Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61b7f121 authored by Felipe Leme's avatar Felipe Leme
Browse files

Removed deprecated ViewStructure.setUrl() method.

Fixes: 37623568
Test: CtsAutoFillServiceTestCases pass
Test: CtsAssistTestCases pass

Change-Id: I13cdf08f40ba3db31ddb3f104f99b7ab8839bd01
parent 883af076
Loading
Loading
Loading
Loading
+0 −7
Original line number Original line Diff line number Diff line
@@ -1736,13 +1736,6 @@ public class AssistStructure implements Parcelable {
            mNode.mSanitized = !sensitive;
            mNode.mSanitized = !sensitive;
        }
        }


        @Override
        public void setUrl(String url) {
            if (url == null) return;

            setWebDomain(url);
        }

        @Override
        @Override
        public void setWebDomain(@Nullable String domain) {
        public void setWebDomain(@Nullable String domain) {
            if (domain == null) {
            if (domain == null) {
+0 −7
Original line number Original line Diff line number Diff line
@@ -373,13 +373,6 @@ public abstract class ViewStructure {
    /** @hide */
    /** @hide */
    public abstract Rect getTempRect();
    public abstract Rect getTempRect();


    /**
     * @deprecated - use {@link #setWebDomain(String)} instead.
     * @hide
     */
    @Deprecated
    public abstract void setUrl(String url);

    /**
    /**
     * Sets the Web domain represented by this node.
     * Sets the Web domain represented by this node.
     *
     *