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