From 9ae788ceecdcc386fa0b290cf7d351bc4a30654f Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Thu, 10 Nov 2016 12:24:47 +0100 Subject: [PATCH] Get rid of the old app manager which we're not going to use --- Android.mk | 2 -- android/app_manager/.idea/vcs.xml | 6 ---- android/app_manager/Android.mk | 15 -------- android/app_manager/AndroidManifest.xml | 14 -------- android/app_manager/res/values/strings.xml | 3 -- .../anbox/app_manager/AppManagerService.java | 21 ----------- .../org/anbox/app_manager/IAppManager.aidl | 22 ------------ .../anbox/app_manager/MainApplication.java | 35 ------------------- 8 files changed, 118 deletions(-) delete mode 100644 android/app_manager/.idea/vcs.xml delete mode 100644 android/app_manager/Android.mk delete mode 100644 android/app_manager/AndroidManifest.xml delete mode 100644 android/app_manager/res/values/strings.xml delete mode 100644 android/app_manager/src/org/anbox/app_manager/AppManagerService.java delete mode 100644 android/app_manager/src/org/anbox/app_manager/IAppManager.aidl delete mode 100644 android/app_manager/src/org/anbox/app_manager/MainApplication.java diff --git a/Android.mk b/Android.mk index a03d70a..cfb848a 100644 --- a/Android.mk +++ b/Android.mk @@ -97,5 +97,3 @@ include $(BUILD_SHARED_LIBRARY) # Include the Android.mk files below will override LOCAL_PATH so we # have to take a copy of it here. TMP_PATH := $(LOCAL_PATH) - -include $(TMP_PATH)/android/app_manager/Android.mk diff --git a/android/app_manager/.idea/vcs.xml b/android/app_manager/.idea/vcs.xml deleted file mode 100644 index b2bdec2..0000000 --- a/android/app_manager/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/android/app_manager/Android.mk b/android/app_manager/Android.mk deleted file mode 100644 index 8b1a3b8..0000000 --- a/android/app_manager/Android.mk +++ /dev/null @@ -1,15 +0,0 @@ -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) -LOCAL_MODULE_TAGS := optional -LOCAL_SRC_FILES := $(call all-java-files-under, src) -LOCAL_PACKAGE_NAME := AnboxAppManager -LOCAL_CERTIFICATE := platform -LOCAL_PRIVILEGED_MODULE := true -# We kick out several core packages here which would -# otherwise put up the base UI we don't want. -LOCAL_OVERRIDES_PACKAGES := \ - Home \ - Launcher2 \ - Launcher3 -include $(BUILD_PACKAGE) diff --git a/android/app_manager/AndroidManifest.xml b/android/app_manager/AndroidManifest.xml deleted file mode 100644 index db222a5..0000000 --- a/android/app_manager/AndroidManifest.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - diff --git a/android/app_manager/res/values/strings.xml b/android/app_manager/res/values/strings.xml deleted file mode 100644 index 8926490..0000000 --- a/android/app_manager/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - Anbox Application Manager - diff --git a/android/app_manager/src/org/anbox/app_manager/AppManagerService.java b/android/app_manager/src/org/anbox/app_manager/AppManagerService.java deleted file mode 100644 index df500dd..0000000 --- a/android/app_manager/src/org/anbox/app_manager/AppManagerService.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright (C) 2016 Simon Fels - * - * This program is free software: you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 3, as published - * by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranties of - * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see . - * - */ - -package org.anbox.app_manager; - -public class AppManagerService { -} diff --git a/android/app_manager/src/org/anbox/app_manager/IAppManager.aidl b/android/app_manager/src/org/anbox/app_manager/IAppManager.aidl deleted file mode 100644 index 04fd299..0000000 --- a/android/app_manager/src/org/anbox/app_manager/IAppManager.aidl +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (C) 2016 Simon Fels - * - * This program is free software: you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 3, as published - * by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranties of - * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see . - * - */ - -package org.anbox.app_manager; - -interface IAppManager { - void launch(string name); -} diff --git a/android/app_manager/src/org/anbox/app_manager/MainApplication.java b/android/app_manager/src/org/anbox/app_manager/MainApplication.java deleted file mode 100644 index ca0f6b3..0000000 --- a/android/app_manager/src/org/anbox/app_manager/MainApplication.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2016 Simon Fels - * - * This program is free software: you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 3, as published - * by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranties of - * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see . - * - */ - -package org.anbox.app_manager; - -import java.lang.reflect.Method; - -import android.app.Application; -import android.os.IBinder; - -public class MainApplication extends Application { - public void startServices() { - Method addService; - try { - addService = Class.forName("android.os.ServiceManager").getMethod("addService", String.class, IBinder.class); - } - catch (Exception e) { - e.printStackTrace(); - } - } -} \ No newline at end of file