summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-06-19 18:26:50 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-06-19 18:26:50 +0200
commitdd539f1821777f0a463f8414d1bce9bc0a8866c5 (patch)
treee855f2f5d57ed9894e23a771d02f0f32c584c740
parentMerge "updater_sample: add proguard.flags" am: 5af63a45d9 am: 468ad1d965 (diff)
parentMerge "updater_sample: run as a systemp app" am: 6b788b1848 (diff)
downloadandroid_bootable_recovery-dd539f1821777f0a463f8414d1bce9bc0a8866c5.tar
android_bootable_recovery-dd539f1821777f0a463f8414d1bce9bc0a8866c5.tar.gz
android_bootable_recovery-dd539f1821777f0a463f8414d1bce9bc0a8866c5.tar.bz2
android_bootable_recovery-dd539f1821777f0a463f8414d1bce9bc0a8866c5.tar.lz
android_bootable_recovery-dd539f1821777f0a463f8414d1bce9bc0a8866c5.tar.xz
android_bootable_recovery-dd539f1821777f0a463f8414d1bce9bc0a8866c5.tar.zst
android_bootable_recovery-dd539f1821777f0a463f8414d1bce9bc0a8866c5.zip
-rw-r--r--updater_sample/Android.mk2
-rw-r--r--updater_sample/AndroidManifest.xml2
2 files changed, 3 insertions, 1 deletions
diff --git a/updater_sample/Android.mk b/updater_sample/Android.mk
index 463dbb32d..cff5b0c1f 100644
--- a/updater_sample/Android.mk
+++ b/updater_sample/Android.mk
@@ -18,8 +18,8 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_PACKAGE_NAME := SystemUpdaterSample
-LOCAL_MODULE_TAGS := samples
LOCAL_SDK_VERSION := system_current
+LOCAL_PRIVILEGED_MODULE := true
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
diff --git a/updater_sample/AndroidManifest.xml b/updater_sample/AndroidManifest.xml
index 4b4448438..18d8425e1 100644
--- a/updater_sample/AndroidManifest.xml
+++ b/updater_sample/AndroidManifest.xml
@@ -19,6 +19,8 @@
<uses-sdk android:minSdkVersion="27" android:targetSdkVersion="27" />
+ <uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
+
<application
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"