if(U.shouldCollapse(context, true)) {
U.sendBroadcast(context, ACTION_HIDE_TASKBAR);
} else {
- U.sendBroadcast(context, ACTION_HIDE_START_MENU);
+ hideStartMenu(true);
}
Intent intent = generateQueryWebSearchIntent(query);
if(!b && !(U.isBlissOs(context) && Build.VERSION.SDK_INT == Build.VERSION_CODES.P)) {
if(hasHardwareKeyboard && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1) {
- U.sendBroadcast(context, ACTION_HIDE_START_MENU);
+ hideStartMenu(true);
} else {
InputMethodManager imm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(view.getWindowToken(), 0);
}
private void openContextMenu(final int[] location) {
- U.sendBroadcast(context, ACTION_HIDE_START_MENU_NO_RESET);
+ hideStartMenu(false);
Bundle args = new Bundle();
args.putBoolean("launched_from_start_menu", true);