Fixing leak in Launcher when shortcuts were installed from market
-> Issue 3418165 Change-Id: Ieee4c7ed436d0722a6352c30adfa5cbd02dd163a
This commit is contained in:
@@ -3397,6 +3397,10 @@ public final class Launcher extends Activity
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// This wasn't being called before which resulted in a leak of AppWidgetHostViews (through
|
||||
// mDesktopItems -> AppWidgetInfo -> hostView).
|
||||
unbindDesktopItems();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user