Add user id as param when constructing DefaultAppInfo.
- DefaultAppInfo has 2 versions of the constructor, one takes the
PackageItemInfo and one takes ComponentInfo. The one with
PackageItemInfo didn't take user id as parameter but use the current
user id to retrieve app info. This is incorrect for managed profile.
Change it to take the correct user id like the other constructor does.
Change-Id: I06569523a3666bb294153b065883412350447444
Fixes: 117222623
Test: make RunSettingsLibRoboTests
2 files changed