Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4626fbd1 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Use SDK int 35 instead of VANILLA_ICE_CREAM

- Required in order to build for a13
parent 62896d99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ public final class ResourceUtils {
    }

    public static int getDefaultKeyboardWidth(final Context context) {
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.VANILLA_ICE_CREAM) {
        if (Build.VERSION.SDK_INT >= 35) { // Build.VERSION_CODES.VANILLA_ICE_CREAM
            // Since Android 15’s edge-to-edge enforcement, window insets should be considered.
            final WindowManager wm = context.getSystemService(WindowManager.class);
            final WindowMetrics windowMetrics = wm.getCurrentWindowMetrics();