Fixing SDCard and package enabled state checks in PackageManagerHeler
Bug: 32365540 Change-Id: Iaac3e08ce55457ebbfb3633514ebc8ade6d200c5
This commit is contained in:
1 parent
cf18c3c2d1
commit
ad2e91a216
6 files changed
+50
-55
No files matched your search
@@ -63,7 +63,7 @@ public class SdCardAvailableReceiver extends BroadcastReceiver {
|
||||
|
||||
for (String pkg : new HashSet<>(entry.getValue())) {
|
||||
if (!launcherApps.isPackageEnabledForProfile(pkg, user)) {
|
||||
if (pmHelper.isAppOnSdcard(pkg)) {
|
||||
if (pmHelper.isAppOnSdcard(pkg, user)) {
|
||||
packagesUnavailable.add(pkg);
|
||||
} else {
|
||||
packagesRemoved.add(pkg);
|
||||
|
||||
Reference in new issue
Block a user