Add a new field showInPersonalTab in AppEntry.
Cloned apps should be displayed in the personal tab only and not in new tab. Hence modify the personal tab filter to include apps whose user profile has the property set as UserPropert.SHOW_IN_SETTINGS_WITH_PARENT. Likewise also mofify the work tab filter to not display these apps. Bug: 248204976 Test: manual (verfied with primary, clone and managed profile present on device at the same time) Test: make RunSettingsLibRoboTests -j40 ROBOTEST_FILTER=ApplicationsStateRoboTest Test: atest ApplicationsStateTest Change-Id: I619f2bfe65837e30bfbcdecd43314f735d03b321
Loading
Please register or sign in to comment