summaryrefslogtreecommitdiffstats
path: root/updater_sample
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-06-19 18:11:49 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-06-19 18:11:49 +0200
commit6b788b18481ce9f34e83ed9d02e2c1c7ac5fae33 (patch)
tree532a356e4ce3c8a0e78c1c1c1084441f4295d723 /updater_sample
parentMerge "updater_sample: add proguard.flags" (diff)
parentupdater_sample: run as a systemp app (diff)
downloadandroid_bootable_recovery-6b788b18481ce9f34e83ed9d02e2c1c7ac5fae33.tar
android_bootable_recovery-6b788b18481ce9f34e83ed9d02e2c1c7ac5fae33.tar.gz
android_bootable_recovery-6b788b18481ce9f34e83ed9d02e2c1c7ac5fae33.tar.bz2
android_bootable_recovery-6b788b18481ce9f34e83ed9d02e2c1c7ac5fae33.tar.lz
android_bootable_recovery-6b788b18481ce9f34e83ed9d02e2c1c7ac5fae33.tar.xz
android_bootable_recovery-6b788b18481ce9f34e83ed9d02e2c1c7ac5fae33.tar.zst
android_bootable_recovery-6b788b18481ce9f34e83ed9d02e2c1c7ac5fae33.zip
Diffstat (limited to 'updater_sample')
-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"