commit | c5a4885bbe27feb16a9b0cf2561ffa2c79830509 | [log] [tgz] |
---|---|---|
author | Sergey Nikolaienkov <sergeynv@google.com> | Tue Sep 05 10:14:05 2023 +0200 |
committer | Sergey Nikolaienkov <sergeynv@google.com> | Tue Sep 05 10:18:41 2023 +0200 |
tree | e2c9233d4ffa9462ef63cf2b5d278020ce856e82 | |
parent | 0cb8f4b4ad852bf4d524349a77ae0711ac0e04e7 [diff] |
Make TestActivity.isInMultiWindowMode() safe Override isInMultiWindowMode() in TestActivity to wrap the "super." call in a try-catch block, since may cause NPEs on some platforms for some OEMs when running DocumentsUIUnitTests. Bug: 297710004 Test: atest DocumentsUIUnitTests Change-Id: I5160cf54678eb8046f090b721557ae9d39527c65