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

Commit e176f2f1 authored by Mady Mellor's avatar Mady Mellor
Browse files

Fix an issue where navigationMode is reported wrong on gradle builds

Not sure why this fixes it... but it does!

Flag: EXEMPT trivial fix for sysui studio builds
Test: - build/install via sysui studio
      - get a bubble, expand it
      - swipe up on the bottom
      => observe that it tracks your finger
Bug: None
Change-Id: I323ff14a9633ae312671f589acb6281064cd7479
parent 7d8b73c1
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