Make Android launcher build correctly

This commit is contained in:
Simon Fels 2016-06-30 21:12:59 +02:00
commit e664839b14
4 changed files with 6 additions and 8 deletions

View file

@ -1,11 +1,10 @@
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)

View file

@ -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"

View file

@ -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.

View file

@ -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";