diff options
author | arangelov <arangelov@google.com> | 2020-01-15 15:09:51 +0000 |
---|---|---|
committer | arangelov <arangelov@google.com> | 2020-01-23 13:55:22 +0000 |
commit | cf26864a3be06c39a54305de61f6b3b7cc76a887 (patch) | |
tree | 11b8ff9cb052dea14bf7fac6c9dd4d9b70fd7e7a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7b312488e11735f70844e1ceea456582bb563480 (diff) |
Add personal and work tabs to share sheet and intent picker.
Currently both tabs are disabled under the
ENABLE_TABBED_VIEW flag until other issues are fixed.
Things this CL does:
- Add personal and work tab if there is a work profile on device
- Load the sharesheet/intent resolver targets when we
open the relative tab, and only load it the first time
- Always first show the tab for the current profile, e.g. for
work profile we show the work tab first
- Disable ViewPager manual swiping
- Remove resolver list horizontal dividers
- Always show the current profile's last opened app
recommendation
Tests are in the follow-up CL.
Bug: 142537267
Bug: 142538125
Test: atest com.android.internal.app.ChooserActivityTest
Test: atest com.android.internal.app.ResolverActivityTest
Test: manually share with personal and work apps from both
the personal and work profiles.
Change-Id: Ie02c6b1d46b30facc9f1b04691cbcdd4e06b0fa9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions