提交 e664839b 编写于 作者: S Simon Fels

Make Android launcher build correctly

上级 33bea6b0
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_SRC_FILES := \ LOCAL_MODULE_TAGS := optional
$(call all-java-files-under src) LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_SDK_VERSION := current
LOCAL_PACKAGE_NAME := AnboxLauncher LOCAL_PACKAGE_NAME := AnboxLauncher
LOCAL_CERTIFICATE := shared LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true LOCAL_PRIVILEGED_MODULE := true
LOCAL_OVERRIDES_PACKAGES := Home LOCAL_OVERRIDES_PACKAGES := Home
include $(BUILD_PACKAGE) include $(BUILD_PACKAGE)
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
package="org.anbox.launcher"> package="org.anbox.launcher">
<application <application
android:name="org.anbox.launcher.LauncherApplication" android:name=".LauncherApplication"
android:label="Anbox Launcher" android:label="Anbox Launcher"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:largeHeap="false" android:largeHeap="false"
android:supportsRtl="true"> android:supportsRtl="true">
<activity <activity
android:name="org.anbox.launcher.Launcher" android:name=".Launcher"
android:launchMode="singleTask" android:launchMode="singleTask"
android:clearTaskOnLaunch="true" android:clearTaskOnLaunch="true"
android:stateNotNeeded="true" android:stateNotNeeded="true"
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
package org.anbox.launcher; package org.anbox.launcher;
import android.app.Activity; import android.app.Activity;
import android.os.Bundle;
/** /**
* Default launcher application. * Default launcher application.
......
...@@ -20,8 +20,6 @@ package org.anbox.launcher; ...@@ -20,8 +20,6 @@ package org.anbox.launcher;
import android.app.Application; import android.app.Application;
import android.util.Log; import android.util.Log;
import org.anbox.launcher.R;
public class LauncherApplication extends Application { public class LauncherApplication extends Application {
static final String TAG = "LauncherApplication"; static final String TAG = "LauncherApplication";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册