summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/compat/LauncherAppsCompat.java
diff options
context:
space:
mode:
authorRubin Xu <rubinxu@google.com>2016-04-04 16:13:35 +0100
committerRubin Xu <rubinxu@google.com>2016-04-04 16:13:35 +0100
commitac6e5d7956124ed807ace9aa92aae0b13d61bafd (patch)
tree02bce9374843862de96fe05bb2e3c65af41000d1 /src/com/android/launcher3/compat/LauncherAppsCompat.java
parent19c5c5765d38656b298465f33256fd5c5b0978b5 (diff)
downloadandroid_packages_apps_Trebuchet-ac6e5d7956124ed807ace9aa92aae0b13d61bafd.tar.gz
android_packages_apps_Trebuchet-ac6e5d7956124ed807ace9aa92aae0b13d61bafd.tar.bz2
android_packages_apps_Trebuchet-ac6e5d7956124ed807ace9aa92aae0b13d61bafd.zip
Listen on new broadcasts for profile changes.
The change is due to API review comments on the platform side. Bug: 27532254 Change-Id: I44133fbb5c3ee13d0523a72b25d2e1c5d1eba6a0
Diffstat (limited to 'src/com/android/launcher3/compat/LauncherAppsCompat.java')
-rw-r--r--src/com/android/launcher3/compat/LauncherAppsCompat.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/launcher3/compat/LauncherAppsCompat.java b/src/com/android/launcher3/compat/LauncherAppsCompat.java
index db5b89e81..bc900bcb5 100644
--- a/src/com/android/launcher3/compat/LauncherAppsCompat.java
+++ b/src/com/android/launcher3/compat/LauncherAppsCompat.java
@@ -35,8 +35,10 @@ public abstract class LauncherAppsCompat {
"android.intent.action.MANAGED_PROFILE_ADDED";
public static final String ACTION_MANAGED_PROFILE_REMOVED =
"android.intent.action.MANAGED_PROFILE_REMOVED";
- public static final String ACTION_MANAGED_PROFILE_AVAILABILITY_CHANGED =
- "android.intent.action.MANAGED_PROFILE_AVAILABILITY_CHANGED";
+ public static final String ACTION_MANAGED_PROFILE_AVAILABLE =
+ "android.intent.action.MANAGED_PROFILE_AVAILABLE";
+ public static final String ACTION_MANAGED_PROFILE_UNAVAILABLE =
+ "android.intent.action.MANAGED_PROFILE_UNAVAILABLE";
public interface OnAppsChangedCallbackCompat {
void onPackageRemoved(String packageName, UserHandleCompat user);