Disable FolderNameEditText on Taskbar

Test: Can rename folder on home screen, but tapping folder name in taskbar does nothing
Bug: 180051157
Change-Id: Ief19805683f754995baf24d7f41f3979841d5bd3
This commit is contained in:
Tony Wickham
2021-09-03 12:47:09 -07:00
parent 7b313224e9
commit d345751849
3 changed files with 28 additions and 9 deletions

View File

@@ -212,6 +212,14 @@ public class TaskbarActivityContext extends ContextThemeWrapper implements Activ
return mViewCache;
}
@Override
public boolean supportsIme() {
// Currently we don't support IME because we have FLAG_NOT_FOCUSABLE. We can remove that
// flag when opening a floating view that needs IME (such as Folder), but then that means
// Taskbar will be below IME and thus users can't click the back button.
return false;
}
/**
* Sets a new data-source for this taskbar instance
*/