| android.content.pm.LauncherApps.OnAppsChangedListener |
Callbacks for package changes to this and related managed profiles.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Indicates that a package was added to the specified profile.
| |||||||||||
Indicates that a package was modified in the specified profile.
| |||||||||||
Indicates that a package was removed from the specified profile.
| |||||||||||
Indicates that one or more packages have become available.
| |||||||||||
Indicates that one or more packages have become unavailable.
| |||||||||||
Indicates that a package was added to the specified profile.
| user | The UserHandle of the profile that generated the change. |
|---|---|
| packageName | The name of the package that was added. |
Indicates that a package was modified in the specified profile.
| user | The UserHandle of the profile that generated the change. |
|---|---|
| packageName | The name of the package that has changed. |
Indicates that a package was removed from the specified profile.
| user | The UserHandle of the profile that generated the change. |
|---|---|
| packageName | The name of the package that was removed. |
Indicates that one or more packages have become available. For example, this can happen when a removable storage card has reappeared.
| user | The UserHandle of the profile that generated the change. |
|---|---|
| packageNames | The names of the packages that have become available. |
| replacing | Indicates whether these packages are replacing existing ones. |
Indicates that one or more packages have become unavailable. For example, this can happen when a removable storage card has been removed.
| user | The UserHandle of the profile that generated the change. |
|---|---|
| packageNames | The names of the packages that have become unavailable. |
| replacing | Indicates whether the packages are about to be replaced with new versions. |