summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-12-09 19:55:04 (GMT)
committercretin45 <cretin45@gmail.com>2015-12-09 19:55:04 (GMT)
commitcffa51464e9c6c3bbbac52303e24f521b9b823c8 (patch)
treef9a97cbad6a1e3dbb522ca1f34bcb71ea82ec923
parent58c844daa7abf00ff88c13845dd2ff8c554b8af6 (diff)
downloadandroid_packages_apps_Trebuchet-cm-13.0-old.zip
android_packages_apps_Trebuchet-cm-13.0-old.tar.gz
android_packages_apps_Trebuchet-cm-13.0-old.tar.bz2
Trebuchet: Use new protected app extrascm-13.0-old
Change-Id: I11b223cc670a9a63906847b2cf10cd3feb8ff553
-rw-r--r--src/com/android/launcher3/Folder.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/com/android/launcher3/Folder.java b/src/com/android/launcher3/Folder.java
index d10be4e..01813c8 100644
--- a/src/com/android/launcher3/Folder.java
+++ b/src/com/android/launcher3/Folder.java
@@ -77,12 +77,6 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
View.OnFocusChangeListener {
private static final String TAG = "Launcher.Folder";
- private static final String PROTECTED_ACTION = "cyanogenmod.intent.action.PACKAGE_PROTECTED";
- private static final String PROTECTED_STATE =
- "cyanogenmod.intent.action.PACKAGE_PROTECTED_STATE";
- private static final String PROTECTED_COMPONENTS =
- "cyanogenmod.intent.action.PACKAGE_PROTECTED_COMPONENTS";
-
protected DragController mDragController;
protected Launcher mLauncher;
protected FolderInfo mInfo;
@@ -326,9 +320,9 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
}
Intent intent = new Intent();
- intent.setAction(PROTECTED_ACTION);
- intent.putExtra(PROTECTED_STATE, protect);
- intent.putExtra(PROTECTED_COMPONENTS, components);
+ intent.setAction(cyanogenmod.content.Intent.ACTION_PROTECTED);
+ intent.putExtra(cyanogenmod.content.Intent.EXTRA_PROTECTED_STATE, protect);
+ intent.putExtra(cyanogenmod.content.Intent.EXTRA_PROTECTED_COMPONENTS, components);
mLauncher.sendBroadcast(intent);
}