commit | c8af851e99d8318890121c2865f865ee1ae31c07 | [log] [tgz] |
---|---|---|
author | Brandon Dayauon <brdayauon@google.com> | Thu Aug 31 15:39:46 2023 -0700 |
committer | Brandon Dayauon <brdayauon@google.com> | Fri Sep 22 17:18:10 2023 +0000 |
tree | 33215311279838b91ccac8b9e7ace04785e1cf82 | |
parent | 9dfbb0aca89294577536c70112296825fa960ee4 [diff] |
Fix gray work apps when WorkPausedCard shoul've shown The reason is because WorkManager doesn't reset when user searches (which is why the apps gray out when you go to toast, turn off work profile then back gesture to all apps) Added test for ActivityAllAppsContainerView that test onAppsUpdated() and check for if there are work apps. From the test environment, onAppsUpdated() needs to be public because the method is outside the package. However, I've wrapped onAppsUpdated package private so I can test it with a boolean parameter. bug: 298492729 test: video: before: https://drive.google.com/file/d/1D0VlGeJEI5lGbYgP5Tnu5UO_Dv61X8Dv/view?usp=sharing after: https://drive.google.com/file/d/1D0qsq7sX_kAp2t92xser7YI4ADBhQfHY/view?usp=sharing Change-Id: I4eb7cf21e273e29171fcd62a4762e8bb1778e720