mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
resolved conflicts for e78e3d73 to ub-launcher3-master
Change-Id: Idc119a57e21cf6016ee0fd91866839301db072d6
This commit is contained in:
@@ -148,8 +148,11 @@ public class WidgetsContainerView extends BaseContainerView
|
||||
if (mWidgetInstructionToast != null) {
|
||||
mWidgetInstructionToast.cancel();
|
||||
}
|
||||
mWidgetInstructionToast = Toast.makeText(getContext(),R.string.long_press_widget_to_add,
|
||||
Toast.LENGTH_SHORT);
|
||||
|
||||
CharSequence msg = Utilities.wrapForTts(
|
||||
getContext().getText(R.string.long_press_widget_to_add),
|
||||
getContext().getString(R.string.long_accessible_way_to_add));
|
||||
mWidgetInstructionToast = Toast.makeText(getContext(), msg, Toast.LENGTH_SHORT);
|
||||
mWidgetInstructionToast.show();
|
||||
}
|
||||
|
||||
@@ -164,7 +167,6 @@ public class WidgetsContainerView extends BaseContainerView
|
||||
if (!mLauncher.isWidgetsViewVisible() ||
|
||||
mLauncher.getWorkspace().isSwitchingState()) return false;
|
||||
// Return if global dragging is not enabled
|
||||
Log.d(TAG, String.format("onLonglick dragging enabled?.", v));
|
||||
if (!mLauncher.isDraggingEnabled()) return false;
|
||||
|
||||
boolean status = beginDragging(v);
|
||||
|
||||
Reference in New Issue
Block a user