commit | 8b841328d01cc6cc028a1f26727d0685f7748a7d | [log] [tgz] |
---|---|---|
author | Wu Ahan <ahanwu@google.com> | Tue Nov 16 09:03:00 2021 +0000 |
committer | Wu Ahan <ahanwu@google.com> | Thu Nov 18 06:43:14 2021 +0000 |
tree | 6228f0d1e29c8469e94022863347273129475101 | |
parent | 6d3e04e756a30cbf1af63629cd43e1ae2ac07957 [diff] |
Fix NPE while running UserSwitcherController The mRootView in UserSwitcherController is not initialized while running the test, fulfill the dependencies and initialize it before testing the function. Bug: 206333323 Test: atest com.android.systemui.statusbar.policy.UserSwitcherControllerTest Change-Id: I807ac2d1279b4f48c94e5d9ccd51f3a43d5884c5