summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-04-01 11:37:53 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-04-01 11:37:53 +0200
commitf171dd7686a337c0e294f65529d979d87b75a466 (patch)
tree16f48b6b51aedaea5ffacfecde845368a0ab2362
parentSnap for 4693202 from adc47121e3bd0e27414383cd12accbd8a945eefb to qt-release (diff)
parentMerge "Create folder for SystemUpdate sample app." am: f0e2811092 am: c6152041fd (diff)
downloadandroid_bootable_recovery-f171dd7686a337c0e294f65529d979d87b75a466.tar
android_bootable_recovery-f171dd7686a337c0e294f65529d979d87b75a466.tar.gz
android_bootable_recovery-f171dd7686a337c0e294f65529d979d87b75a466.tar.bz2
android_bootable_recovery-f171dd7686a337c0e294f65529d979d87b75a466.tar.lz
android_bootable_recovery-f171dd7686a337c0e294f65529d979d87b75a466.tar.xz
android_bootable_recovery-f171dd7686a337c0e294f65529d979d87b75a466.tar.zst
android_bootable_recovery-f171dd7686a337c0e294f65529d979d87b75a466.zip
-rw-r--r--Android.mk1
-rw-r--r--sample_updater/Android.mk25
-rw-r--r--sample_updater/AndroidManifest.xml21
-rw-r--r--sample_updater/README.md1
4 files changed, 48 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 7359c9fbd..bc7966aea 100644
--- a/Android.mk
+++ b/Android.mk
@@ -288,6 +288,7 @@ include $(BUILD_STATIC_LIBRARY)
include \
$(LOCAL_PATH)/boot_control/Android.mk \
$(LOCAL_PATH)/minui/Android.mk \
+ $(LOCAL_PATH)/sample_updater/Android.mk \
$(LOCAL_PATH)/tests/Android.mk \
$(LOCAL_PATH)/tools/Android.mk \
$(LOCAL_PATH)/updater/Android.mk \
diff --git a/sample_updater/Android.mk b/sample_updater/Android.mk
new file mode 100644
index 000000000..d6764bd01
--- /dev/null
+++ b/sample_updater/Android.mk
@@ -0,0 +1,25 @@
+#
+# Copyright (C) 2018 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_PACKAGE_NAME := SystemUpdateApp
+LOCAL_SDK_VERSION := system_current
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_PACKAGE)
diff --git a/sample_updater/AndroidManifest.xml b/sample_updater/AndroidManifest.xml
new file mode 100644
index 000000000..ccee107bb
--- /dev/null
+++ b/sample_updater/AndroidManifest.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2018 The Android Open Source Project
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<manifest
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ package="com.android.update">
+</manifest>
diff --git a/sample_updater/README.md b/sample_updater/README.md
new file mode 100644
index 000000000..a06c52d4b
--- /dev/null
+++ b/sample_updater/README.md
@@ -0,0 +1 @@
+# System update sample app.