Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Move SdkSetup.apk to vendor partition
Browse files Browse the repository at this point in the history
Otherwise, it causes the CTS-on-GSI failure on non-emulator devices:
  CtsPermission2TestCases android.permission2.cts.PrivappPermissionsTest#testPrivappPermissionsEnforcement

Because non-emulator devices lack the permission file in their /vendor.
  /system/priv-app/SdkSetup/SdkSetup.apk
  /vendor/etc/permissions/privapp-permissions-goldfish.xml

Bug: 110517983
Test: boot a GSI and checks that SdkSetup.apk is moved to /vendor
Change-Id: I3086f99c477eeca38f42041e1809a5aa3b8bfa7a
  • Loading branch information
bowgotsai committed Jul 17, 2018
1 parent 532d1aa commit 3bf3140
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@

$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/CorpApp_intermediates)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/SdkSetup)

# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************
1 change: 1 addition & 0 deletions apps/SdkSetup/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional
LOCAL_PRIVILEGED_MODULE := true
LOCAL_VENDOR_MODULE := true
LOCAL_SRC_FILES := $(call all-subdir-java-files)

LOCAL_PACKAGE_NAME := SdkSetup
Expand Down

0 comments on commit 3bf3140

Please sign in to comment.