commit | 5de5ac900886be43a97ffa92c850947123328549 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Wed Dec 07 18:09:45 2022 +0000 |
committer | Tony Wickham <twickham@google.com> | Thu Dec 08 16:19:16 2022 +0000 |
tree | c3cd3071af52857680d5afca035bcdbda20e901e | |
parent | 7286c5be9818a5893a692042ebda664583006684 [diff] |
Add IS_RUNNING_IN_TEST_HARNESS check for isTransientTaskbar This avoids us trying to read FORCE_PERSISTENT_TASKBAR feature flag which apparently crashes tests due to permission issues. Going forward, when we support persistent taskbar better, we should update the tests and this check as commented in the code. Test: com.google.android.apps.nexuslauncher.TaplTestsNexus#testSearchNoInputs Fixes: 261604544 Change-Id: I35c20825e8171766834f0f32be4f3818d02ab1df