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

Commit 791ed473 authored by Samuel Fufa's avatar Samuel Fufa
Browse files

Change onAppWidgetRemoved to public

Bug:141279939
Change-Id: I02aa7b8b54cbd75ebe34acd88c8006c23c52f002
parent cdcfd98c
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -238,9 +238,12 @@ public class LauncherAppWidgetHost extends AppWidgetHost {
        info.initSpans(mContext);
    }

    //TODO: make this override when SDK is updated
    //@Override
    protected void onAppWidgetRemoved(int appWidgetId) {
    /**
     * Called on an appWidget is removed for a widgetId
     * @param appWidgetId
     * TODO: make this override when SDK is updated
     */
    public void onAppWidgetRemoved(int appWidgetId) {
        if (mAppWidgetRemovedCallback == null) {
            return;
        }