Change onAppWidgetRemoved to public

Bug:141279939
Change-Id: I02aa7b8b54cbd75ebe34acd88c8006c23c52f002
This commit is contained in:
Samuel Fufa
2019-09-19 10:10:34 -07:00
parent cdcfd98c05
commit 791ed47320
@@ -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;
}