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

Commit 5fbb1a6f authored by Cyrus Boadway's avatar Cyrus Boadway
Browse files

Add hidden setter for AppWidgetHost's InteractionHandler

This will allow Quickstep launchers, e.g. NexusLauncher, to
provide a custom interaction handler.

Bug: 169042867
Test: manual testing

Change-Id: Id70cb463e2671e32ea9f52f06487ac63fcf57e0d
parent 33b9b855
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -319,6 +319,15 @@ public class AppWidgetHost {
        }
    }

    /**
     * Set the host's interaction handler.
     *
     * @hide
     */
    public void setInteractionHandler(InteractionHandler interactionHandler) {
        mInteractionHandler = interactionHandler;
    }

    /**
     * Gets a list of all the appWidgetIds that are bound to the current host
     */