summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-06-19 18:18:04 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-06-19 18:18:04 +0200
commitbb1c6bf7ccb1510d2e45437b12b05073af42c83d (patch)
treee855f2f5d57ed9894e23a771d02f0f32c584c740
parentMerge "updater_sample: add proguard.flags" (diff)
parentMerge "updater_sample: run as a systemp app" (diff)
downloadandroid_bootable_recovery-bb1c6bf7ccb1510d2e45437b12b05073af42c83d.tar
android_bootable_recovery-bb1c6bf7ccb1510d2e45437b12b05073af42c83d.tar.gz
android_bootable_recovery-bb1c6bf7ccb1510d2e45437b12b05073af42c83d.tar.bz2
android_bootable_recovery-bb1c6bf7ccb1510d2e45437b12b05073af42c83d.tar.lz
android_bootable_recovery-bb1c6bf7ccb1510d2e45437b12b05073af42c83d.tar.xz
android_bootable_recovery-bb1c6bf7ccb1510d2e45437b12b05073af42c83d.tar.zst
android_bootable_recovery-bb1c6bf7ccb1510d2e45437b12b05073af42c83d.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"