fix: NSME on canImeRenderGesturalNavButtons
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
1 parent
3affe5afba
commit
476f2509b9
2 files changed
+8
-2
No files matched your search
@@ -310,8 +310,13 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
|
||||
}
|
||||
mNavButtonsView.setLayoutParams(navButtonsViewLayoutParams);
|
||||
|
||||
mIsImeRenderingNavButtons =
|
||||
InputMethodService.canImeRenderGesturalNavButtons() && mContext.imeDrawsImeNavBar();
|
||||
try {
|
||||
mIsImeRenderingNavButtons =
|
||||
InputMethodService.canImeRenderGesturalNavButtons() && mContext.imeDrawsImeNavBar();
|
||||
} catch (NoSuchMethodError e) {
|
||||
// LC-Ignored: what?
|
||||
mIsImeRenderingNavButtons = false;
|
||||
}
|
||||
if (!mIsImeRenderingNavButtons) {
|
||||
// IME switcher
|
||||
final int switcherResId = Flags.imeSwitcherRevamp()
|
||||
|
||||
Reference in new issue
Block a user