Hi, in my app Android.mk I have the following content: * LOCAL_PATH := $(call my-dir)* * include $(CLEAR_VARS)*
* LOCAL_MODULE_TAGS := optional* * LOCAL_MODULE := MyApp* * LOCAL_CERTIFICATE := PRESIGNED* * LOCAL_SRC_FILES := $(LOCAL_MODULE).apk* * LOCAL_MODULE_CLASS := APPS* * LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)* * LOCAL_PRIVILEGED_MODULE := true* * TARGET_OUT_DATA_APPS_PRIVILEGED := $(TARGET_OUT_DATA)/priv-app/* * include $(BUILD_PREBUILT)* I have added the app in the build output by adding this in my board mk ( *android_build/device/variscite/imx8m/dart_mx8mm/dart_mx8mm.mk*): *PRODUCT_PACKAGES += \* * MyApp\* On Wednesday, August 12, 2020 at 3:45:41 PM UTC+2 semw wrote: > Hi ricardo , > How did you added the apk as system app ? > Can you tell me what code you wrote in your make file ? > and in which file you added its package name ? > > > On Wednesday, August 5, 2020 at 9:56:05 PM UTC+5, Riccardo Bruè wrote: >> >> Hi, I have a prebuild APK which I've added in my AOSP system by adding >> its name on the PRODUCT_PACKAGES variable. I can successfully see my app >> under "/system/priv-app" folder and I've added all its permissions in the >> "privapp-permissions-platform.xml" file. Now I was thinking that all the >> permissions (microphone access, location and external storage writing) were >> already granted, but I still have to grant them manually from Android >> settings. What can I do to fix this? Thank you. > > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/181bf6ab-b8ff-418a-8757-b88f70eda244n%40googlegroups.com.