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)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
$(call all-java-files-under src)
LOCAL_SDK_VERSION := current
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := AnboxLauncher
LOCAL_CERTIFICATE := shared
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true
LOCAL_OVERRIDES_PACKAGES := Home
include $(BUILD_PACKAGE)

View file

@ -4,13 +4,13 @@
package="org.anbox.launcher">
<application
android:name="org.anbox.launcher.LauncherApplication"
android:name=".LauncherApplication"
android:label="Anbox Launcher"
android:hardwareAccelerated="true"
android:largeHeap="false"
android:supportsRtl="true">
<activity
android:name="org.anbox.launcher.Launcher"
android:name=".Launcher"
android:launchMode="singleTask"
android:clearTaskOnLaunch="true"
android:stateNotNeeded="true"

View file

@ -18,6 +18,7 @@
package org.anbox.launcher;
import android.app.Activity;
import android.os.Bundle;
/**
* Default launcher application.

View file

@ -20,8 +20,6 @@ package org.anbox.launcher;
import android.app.Application;
import android.util.Log;
import org.anbox.launcher.R;
public class LauncherApplication extends Application {
static final String TAG = "LauncherApplication";