commit | df3a229ee1b454c1e85e466f1025c2fc2c6e5e4f | [log] [tgz] |
---|---|---|
author | Jeff Chang <chengjeff@google.com> | Thu Oct 27 19:31:41 2022 +0800 |
committer | Jeff Chang <chengjeff@google.com> | Mon Oct 31 01:46:49 2022 +0000 |
tree | cd44b981c7d26443518a38365cd8d8d28603f7b9 | |
parent | b0d018239d08e92f8c65b87885332211dfc210c2 [diff] |
Fix NPE when run the splitscreen test ccfed74e82bde9ea, add the toast maker in StageCoordinator. NPE is thrown when running the splitscreen test. It can't toast on a thread that has not been called Looper.prepare(). This CL adds the @UiThreadTest on needed tests to fix the NPE. Bug: 256087248 Test: atest com.android.wm.shell.splitscreen Change-Id: I9fef85c58570a9c1ca2741d1a8aa81439850cc88