summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Crump <chris@cypheros.co>2019-09-29 21:17:44 -0400
committeralk3pInjection <webmaster@raspii.tech>2022-05-06 14:30:30 +0800
commit6dd012ebd21d7049f44bec4d7bef489a398e2ce3 (patch)
tree18abf2fca50b77a4c933fa3479df8bcf6b1e9b53
parent0b5863708318d1f85b357022f85d4bd2fe0baee8 (diff)
Launcher3: Create Custom Launcher
Change-Id: Iaba9d5b30ca8629c06c882549d731eecfce934f4 [kdrag0n: Debranded to com.android.launcher3] Signed-off-by: Danny Lin <danny@kdrag0n.dev>
-rw-r--r--AndroidManifest.xml2
-rw-r--r--quickstep/AndroidManifest-launcher.xml2
-rw-r--r--quickstep/src/com/android/launcher3/CustomLauncher.java23
3 files changed, 25 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index b838a516be..1309b81ae2 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -44,7 +44,7 @@
attributes and intent filters the same
-->
<activity
- android:name="com.android.launcher3.Launcher"
+ android:name="com.android.launcher3.CustomLauncher"
android:launchMode="singleTask"
android:clearTaskOnLaunch="true"
android:stateNotNeeded="true"
diff --git a/quickstep/AndroidManifest-launcher.xml b/quickstep/AndroidManifest-launcher.xml
index 53910e344b..f249276400 100644
--- a/quickstep/AndroidManifest-launcher.xml
+++ b/quickstep/AndroidManifest-launcher.xml
@@ -43,7 +43,7 @@
attributes and intent filters the same
-->
<activity
- android:name="com.android.launcher3.uioverrides.QuickstepLauncher"
+ android:name="com.android.launcher3.CustomLauncher"
android:launchMode="singleTask"
android:clearTaskOnLaunch="true"
android:stateNotNeeded="true"
diff --git a/quickstep/src/com/android/launcher3/CustomLauncher.java b/quickstep/src/com/android/launcher3/CustomLauncher.java
new file mode 100644
index 0000000000..30060ead8e
--- /dev/null
+++ b/quickstep/src/com/android/launcher3/CustomLauncher.java
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2019 Paranoid Android
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.launcher3;
+
+import com.android.launcher3.uioverrides.QuickstepLauncher;
+
+public class CustomLauncher extends QuickstepLauncher {
+
+}