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

Commit 18adb6f7 authored by Mady Mellor's avatar Mady Mellor Committed by Android (Google) Code Review
Browse files

Merge "Fix an issue where navigationMode is reported wrong on gradle builds" into main

parents da9dc5bf e176f2f1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ package com.android.wm.shell.shared.bubbles
import android.content.Context
import android.view.View
import android.view.WindowManagerPolicyConstants
import com.android.internal.R

/** Simplifies accessing context fields. */
object ContextUtils {
@@ -27,7 +26,7 @@ object ContextUtils {
    /** Gets navigation mode. */
    @JvmStatic
    val Context.navigationMode: Int
        get() = resources.getInteger(R.integer.config_navBarInteractionMode)
        get() = resources.getInteger(com.android.internal.R.integer.config_navBarInteractionMode)

    /** Returns whether the navigation mode is gestures. */
    @JvmStatic