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

Commit f2843d67 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix DeviceFoldStateProviderTest" into tm-dev

parents 923eb82c ec295771
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -126,12 +126,7 @@ constructor(
     */
    private fun getClosingThreshold(): Int? {
        val activityType =
            activityManager
                .getRunningTasks(/* maxNum= */ 1)
                ?.getOrNull(0)
                ?.configuration
                ?.windowConfiguration
                ?.activityType
            activityManager.getRunningTasks(/* maxNum= */ 1)?.getOrNull(0)?.topActivityType
                ?: return null

        if (DEBUG) {