mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Show App Info when dragging widgets from the workspace.
Bug: 24190195 Change-Id: I65f67b7c1a1ae895035942aa97e40186ea5a206f
This commit is contained in:
@@ -87,9 +87,12 @@ public class UninstallDropTarget extends ButtonDropTarget {
|
||||
final Runnable checkIfUninstallWasSuccess = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
String packageName = componentInfo.first.getPackageName();
|
||||
boolean uninstallSuccessful = !AllAppsList.packageHasActivities(
|
||||
getContext(), packageName, user);
|
||||
boolean uninstallSuccessful = false;
|
||||
if (componentInfo != null) {
|
||||
String packageName = componentInfo.first.getPackageName();
|
||||
uninstallSuccessful = !AllAppsList.packageHasActivities(
|
||||
getContext(), packageName, user);
|
||||
}
|
||||
sendUninstallResult(d.dragSource, uninstallSuccessful);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user