Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 448cb6b3 authored by Akash Suresh's avatar Akash Suresh
Browse files

BoardConfigGsiCommon: Prevent duplicate assignments of ro.adb.secure

* "ro.adb.secure" is already set in vendor/lineage/config/common.mk.
* Unify gsi_system_ext.prop and gsi_system_ext_user.prop.
* The only difference between the two prop files is "ro.adb.secure".

Change-Id: Ie25ecd071e754b4257fc9f6f47454f009d0e85aa
parent 353bb690
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -81,11 +81,7 @@ endif
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR :=

# GSI specific System Properties
ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
TARGET_SYSTEM_EXT_PROP := build/make/target/board/gsi_system_ext.prop
else
TARGET_SYSTEM_EXT_PROP := build/make/target/board/gsi_system_ext_user.prop
endif

# Set this to create /cache mount point for non-A/B devices that mounts /cache.
# The partition size doesn't matter, just to make build pass.
+0 −3
Original line number Diff line number Diff line
# GSI always generate dex pre-opt in system image
ro.cp_system_other_odex=0

# GSI always disables adb authentication
ro.adb.secure=0

# GSI disables non-AOSP nnapi extensions on product partition
ro.nnapi.extensions.deny_on_product=true

+0 −11
Original line number Diff line number Diff line
# GSI always generate dex pre-opt in system image
ro.cp_system_other_odex=0

# GSI disables non-AOSP nnapi extensions on product partition
ro.nnapi.extensions.deny_on_product=true

# TODO(b/120679683): disable RescueParty before all problem apps solved
persist.sys.disable_rescue=true

# TODO(b/78105955): disable privapp_permissions checking before the bug solved
ro.control_privapp_permissions=disable