Skip to content

Commit 1526ecb

Browse files
committed
Disable navbar extension on Motorola
1 parent 9846788 commit 1526ecb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

java/src/org/futo/inputmethod/latin/LatinIME.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ import org.futo.inputmethod.v2keyboard.isFoldableInnerDisplayAllowed
9696
import kotlin.math.roundToInt
9797

9898
/** Whether or not we can render into the navbar */
99-
val SupportsNavbarExtension = Build.VERSION.SDK_INT >= 28
99+
val SupportsNavbarExtension =
100+
Build.VERSION.SDK_INT >= 28 &&
101+
// https://github.com/futo-org/android-keyboard/issues/772
102+
!Build.MANUFACTURER.lowercase().contains("motorola")
100103

101104
private class UnlockedBroadcastReceiver(val onDeviceUnlocked: () -> Unit) : BroadcastReceiver() {
102105
override fun onReceive(context: Context?, intent: Intent?) {

0 commit comments

Comments
 (0)