diff options
author | arangelov <arangelov@google.com> | 2020-02-11 18:05:42 +0000 |
---|---|---|
committer | arangelov <arangelov@google.com> | 2020-02-12 12:22:20 +0000 |
commit | 590fba384a15202f3d78bc85cd7772ec97afd6db (patch) | |
tree | 72eed689aa23cd59555beb765e9b483fd2fa5eb9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 20024529db5c3b5d216faa1a654981f4ebff95b8 (diff) |
Add empty state screens.
The added screens are for the following scenarios:
- No resolved apps on the visible tab
- Sharing not enabled by admin for the visible tab for both
directions, work->personal and personal->work
- Work profile is disabled
Other changes in this CL:
- Make the intent resolver height suitable for the empty states
- Handle landscape mode gracefully by hiding the content preview
if the tabs are shown
- Show the content preview view as part of the list view if there
are no tabs present, and above the tabs if tabs are present
- Remove elevation if showing the tabbed view
What's left:
- Finalize strings
Test: manually tested all conditions for the empty state screens
Test: atest com.android.internal.app.ChooserActivityTest
Test: atest com.android.internal.app.ResolverActivityTest
Bug: 142537267
Bug: 142538125
Change-Id: I4e5ab5fa368d2b907e3fa74b00a82d8739e4f229
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions