summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/popup
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2017-04-12 18:31:09 -0700
committerTony Wickham <twickham@google.com>2017-04-17 11:44:41 -0700
commit343a77e609382bcb9b1d69ea235a9e6d779b719e (patch)
tree774becd5e7cbd6a8057ffcdc333ac2476bc49695 /src/com/android/launcher3/popup
parent251dabfd765cd4422ff3fd2d6a7f70834413831c (diff)
downloadandroid_packages_apps_Trebuchet-343a77e609382bcb9b1d69ea235a9e6d779b719e.tar.gz
android_packages_apps_Trebuchet-343a77e609382bcb9b1d69ea235a9e6d779b719e.tar.bz2
android_packages_apps_Trebuchet-343a77e609382bcb9b1d69ea235a9e6d779b719e.zip
Rename WidgetsAndMore to WidgetsBottomSheet
(It only contains widgets now.) Bug: 35766387 Change-Id: I5864791a9741d1c56ac6df30125fe7a4a677b4bd
Diffstat (limited to 'src/com/android/launcher3/popup')
-rw-r--r--src/com/android/launcher3/popup/SystemShortcut.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/android/launcher3/popup/SystemShortcut.java b/src/com/android/launcher3/popup/SystemShortcut.java
index fa70de911..de884996b 100644
--- a/src/com/android/launcher3/popup/SystemShortcut.java
+++ b/src/com/android/launcher3/popup/SystemShortcut.java
@@ -11,7 +11,7 @@ import com.android.launcher3.R;
import com.android.launcher3.model.WidgetItem;
import com.android.launcher3.util.PackageUserKey;
import com.android.launcher3.util.Themes;
-import com.android.launcher3.widget.WidgetsAndMore;
+import com.android.launcher3.widget.WidgetsBottomSheet;
import java.util.List;
@@ -62,10 +62,10 @@ public abstract class SystemShortcut {
@Override
public void onClick(View view) {
PopupContainerWithArrow.getOpen(launcher).close(true);
- WidgetsAndMore widgetsAndMore =
- (WidgetsAndMore) launcher.getLayoutInflater().inflate(
- R.layout.widgets_and_more, launcher.getDragLayer(), false);
- widgetsAndMore.populateAndShow(itemInfo);
+ WidgetsBottomSheet widgetsBottomSheet =
+ (WidgetsBottomSheet) launcher.getLayoutInflater().inflate(
+ R.layout.widgets_bottom_sheet, launcher.getDragLayer(), false);
+ widgetsBottomSheet.populateAndShow(itemInfo);
}
};
}