Set correct uid when loading app icon in data usage UI.
work profile apps belongs to a different user. Set the correct uid when loading the icon so the work profile badge is displayed. Change-Id: I2ed27d6b83c1b42961500dc8d63475bf1f7eabcd Fix: 38372681 Test: make RunSettingsRoboTests
This commit is contained in:
@@ -111,4 +111,6 @@ public interface PackageManagerWrapper {
|
||||
*/
|
||||
void deletePackageAsUser(String packageName, IPackageDeleteObserver observer, int flags,
|
||||
int userId);
|
||||
|
||||
int getPackageUidAsUser(String pkg, int userId) throws PackageManager.NameNotFoundException;
|
||||
}
|
||||
|
Reference in New Issue
Block a user