summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-06-25 18:21:41 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-06-25 18:21:41 -0700
commit72db10a93c41fd3c53fdfefad52bad11d9728597 (patch)
tree391bc5eb44341d1a11c883d603d29c60d22e796a
parentb41b8369687025fe8d661eae8928cbbd9733da21 (diff)
downloadandroid_packages_apps_Trebuchet-72db10a93c41fd3c53fdfefad52bad11d9728597.tar.gz
android_packages_apps_Trebuchet-72db10a93c41fd3c53fdfefad52bad11d9728597.tar.bz2
android_packages_apps_Trebuchet-72db10a93c41fd3c53fdfefad52bad11d9728597.zip
Moving LauncherExtension to a separate package
Change-Id: I6eef1cbb17295e59eae04f90fa44037be5f7da4b
-rw-r--r--AndroidManifest.xml6
-rw-r--r--src/com/android/launcher3/testing/LauncherExtension.java (renamed from src/com/android/launcher3/LauncherExtension.java)10
2 files changed, 13 insertions, 3 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 873ca32fd..1fb8e8d01 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -93,8 +93,10 @@
</intent-filter>
</activity>
+ <!-- ENABLE_FOR_TESTING
+
<activity
- android:name="com.android.launcher3.LauncherExtension"
+ android:name="com.android.launcher3.testing.LauncherExtension"
android:launchMode="singleTask"
android:clearTaskOnLaunch="true"
android:stateNotNeeded="true"
@@ -110,6 +112,8 @@
</intent-filter>
</activity>
+ -->
+
<activity
android:name="com.android.launcher3.ToggleWeightWatcher"
android:label="@string/toggle_weight_watcher"
diff --git a/src/com/android/launcher3/LauncherExtension.java b/src/com/android/launcher3/testing/LauncherExtension.java
index 857ec57a7..b7a0729bd 100644
--- a/src/com/android/launcher3/LauncherExtension.java
+++ b/src/com/android/launcher3/testing/LauncherExtension.java
@@ -1,7 +1,6 @@
-package com.android.launcher3;
+package com.android.launcher3.testing;
import android.animation.Animator;
-import android.animation.Animator.AnimatorListener;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.content.ComponentName;
@@ -11,6 +10,13 @@ import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.ViewGroup;
+
+import com.android.launcher3.AppInfo;
+import com.android.launcher3.InsettableFrameLayout;
+import com.android.launcher3.Launcher;
+import com.android.launcher3.LauncherAnimUtils;
+import com.android.launcher3.LauncherCallbacks;
+import com.android.launcher3.R;
import com.android.launcher3.allapps.AllAppsSearchBarController;
import com.android.launcher3.util.ComponentKey;