Implement app hiding
This commit is contained in:
1 parent
46f1fc8297
commit
c73c9abaf1
21 files changed
+515
-30
No files matched your search
@@ -78,6 +78,7 @@ public class PackageUpdatedTask extends BaseModelUpdateTask {
|
||||
public static final int OP_SUSPEND = 5; // package suspended
|
||||
public static final int OP_UNSUSPEND = 6; // package unsuspended
|
||||
public static final int OP_USER_AVAILABILITY_CHANGE = 7; // user available/unavailable
|
||||
public static final int OP_RELOAD = 8; // reload packages for user
|
||||
|
||||
private final int mOp;
|
||||
private final UserHandle mUser;
|
||||
@@ -174,6 +175,9 @@ public class PackageUpdatedTask extends BaseModelUpdateTask {
|
||||
appsList.setFlags(FLAG_QUIET_MODE_ENABLED, ums.isAnyProfileQuietModeEnabled());
|
||||
break;
|
||||
}
|
||||
case OP_RELOAD:
|
||||
appsList.reloadPackages(context, mUser);
|
||||
break;
|
||||
}
|
||||
|
||||
bindApplicationsIfNeeded();
|
||||
|
||||
Reference in new issue
Block a user