forked from openkylin/platform_build
Merge "Clean up deprecated properties. Set sepolicy for vendor process" into pi-dev
am: cd42897025
Change-Id: Icfb2831128ea7777efc1216e30157f43631e16b6
This commit is contained in:
commit
c3710cbd95
|
@ -17,10 +17,6 @@
|
|||
# This is a build configuration for the product aspects that
|
||||
# are specific to the emulator.
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES := \
|
||||
ro.ril.hsxpa=1 \
|
||||
ro.ril.gprsclass=10
|
||||
|
||||
PRODUCT_COPY_FILES := \
|
||||
device/generic/goldfish/camera/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
|
||||
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
|
||||
|
|
|
@ -25,10 +25,11 @@ allow goldfish_setup varrun_file:file { mounton getattr create read write open u
|
|||
allow goldfish_setup execns_exec:file rx_file_perms;
|
||||
allow goldfish_setup proc_net:file rw_file_perms;
|
||||
allow goldfish_setup proc:file r_file_perms;
|
||||
set_prop(goldfish_setup, ctl_default_prop);
|
||||
allow goldfish_setup nsfs:file r_file_perms;
|
||||
allow goldfish_setup system_data_file:dir getattr;
|
||||
allow goldfish_setup kernel:system module_request;
|
||||
set_prop(goldfish_setup, qemu_prop);
|
||||
get_prop(goldfish_setup, net_share_prop);
|
||||
# Allow goldfish_setup to run /system/bin/ip and /system/bin/iw
|
||||
allow goldfish_setup system_file:file execute_no_trans;
|
||||
# Allow goldfish_setup to run init.wifi.sh
|
||||
|
|
|
@ -2,3 +2,4 @@ type qemu_prop, property_type;
|
|||
type qemu_cmdline, property_type;
|
||||
type radio_noril_prop, property_type;
|
||||
type net_eth0_prop, property_type;
|
||||
type net_share_prop, property_type;
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
qemu. u:object_r:qemu_prop:s0
|
||||
qemu.cmdline u:object_r:qemu_cmdline:s0
|
||||
vendor.qemu u:object_r:qemu_prop:s0
|
||||
ro.emu. u:object_r:qemu_prop:s0
|
||||
ro.emulator. u:object_r:qemu_prop:s0
|
||||
ro.radio.noril u:object_r:radio_noril_prop:s0
|
||||
net.eth0. u:object_r:net_eth0_prop:s0
|
||||
net.shared_net_ip u:object_r:net_share_prop:s0
|
||||
|
|
|
@ -17,10 +17,6 @@
|
|||
# This is a build configuration for the product aspects that
|
||||
# are specific to the emulator.
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES := \
|
||||
ro.ril.hsxpa=1 \
|
||||
ro.ril.gprsclass=10
|
||||
|
||||
PRODUCT_COPY_FILES := \
|
||||
device/generic/goldfish/camera/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
|
||||
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
|
||||
|
|
|
@ -17,10 +17,6 @@
|
|||
# This is a build configuration for the product aspects that
|
||||
# are specific to the emulator.
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES := \
|
||||
ro.ril.hsxpa=1 \
|
||||
ro.ril.gprsclass=10
|
||||
|
||||
PRODUCT_COPY_FILES := \
|
||||
device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \
|
||||
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
|
||||
|
|
|
@ -17,10 +17,6 @@
|
|||
# This is a build configuration for the product aspects that
|
||||
# are specific to the emulator.
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES := \
|
||||
ro.ril.hsxpa=1 \
|
||||
ro.ril.gprsclass=10
|
||||
|
||||
PRODUCT_COPY_FILES := \
|
||||
device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \
|
||||
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
|
||||
|
|
|
@ -177,3 +177,16 @@ PRODUCT_FULL_TREBLE_OVERRIDE := true
|
|||
#once it is fixed in aosp, remove this block of comment.
|
||||
#PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
||||
#config.disable_location=true
|
||||
|
||||
# Enable Perfetto traced
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
persist.traced.enable=1
|
||||
|
||||
# enable Google-specific location features,
|
||||
# like NetworkLocationProvider and LocationCollector
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
ro.com.google.locationfeatures=1
|
||||
|
||||
# disable setupwizard
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
ro.setupwizard.mode=DISABLED
|
||||
|
|
Loading…
Reference in New Issue