Allow vendor_init to set setupwizard prop Allow priv_app and gmscore_app to get setupwizard prop <11>[ 7.276992][ T329] init: Unable to set property 'setupwizard.feature.provisioning_profile_mode' from uid:0 gid:0 pid:330: SELinux permission check failed 08-28 15:35:42.536 10156 5884 5884 W oid.setupwizard: type=1400 audit(0.0:63): avc: denied { read } for name="u:object_r:setupwizard_feature_prop:s0" dev="tmpfs" ino=335 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:setupwizard_feature_prop:s0 tclass=file permissive=0 app=com.google.android.setupwizard 08-28 15:11:52.015 10185 6915 6915 W highpool[8]: type=1400 audit(0.0:17): avc: denied { read } for name="u:object_r:setupwizard_feature_prop:s0" dev="tmpfs" ino=339 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:setupwizard_feature_prop:s0 tclass=file permissive=0 app=com.google.android.gms Bug: 349592724 Test: m Change-Id: I8330c9f6f9efd215ec4ea1f7d3d6ff5596773e21 Flag: NONE disabling a feature just in factory
7 lines
358 B
Text
7 lines
358 B
Text
# Disable bootstrap when bootloader is unlocked in user build
|
|
on property:ro.build.type=user && property:ro.boot.flash.locked=0
|
|
setprop setupwizard.feature.provisioning_profile_mode false
|
|
|
|
# Disable bootstrap for DVT devices shipping to non-US carriers
|
|
on property:ro.boot.warranty.sku=BOF
|
|
setprop setupwizard.feature.provisioning_profile_mode false
|