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

Commit 00e697d1 authored by Ben Reich's avatar Ben Reich
Browse files

Simply check if the nav bar is visible before adding padding

It turns out all the excessive API calls to verify that the nav bar is
visible is not necessary as there appears to be a simple API that
returns true/false if the gesture bar is visible or not. Let's prefer
that instead.

Bug: 402604097
Test: m DocumentsUIGoogle to Pixel tablet and observe
Flag: com.android.documentsui.flags.use_material3
Change-Id: I318c5062502c1001f19ac85ceba87be1fe1d34ed
parent f0d52d9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment