Make Android launcher build correctly
This commit is contained in:
parent
33bea6b099
commit
e664839b14
4 changed files with 6 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
package org.anbox.launcher;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
|
||||
/**
|
||||
* Default launcher application.
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue