Show empty state screens in order of priority.
To improve the user experience, this CL changes the order in which the empty state screens are shown: 1. (highest priority) cross-profile disabled by policy 2. no apps available 3. (least priority) work is off The intention is to prevent the user from having to turn the work profile on if there will not be any apps resolved anyway. Fixes: 150936283 Test: atest ResolverActivityTest Test: atest ChooserActivityTest Test: manually tested each possible combination of edge cases (work profile off, no apps found, cross-profile intents disabled) Change-Id: Ic86c90bdda93cf731df2133890081b5583ef35e1
Loading
Please register or sign in to comment