Don't enable CPU feature runtime detection for everyone

Sadly CPUs impacted with needs_a53_835769_fix/needs_a53_843419_fix can't use runtime codepath
Enable CPU feature runtime detection on known-problematic CPUs
This commit is contained in:
Pierre-Hugues Husson 2020-06-20 00:31:29 +02:00 committed by tboy1991
parent cb2ce15028
commit 0cf5bdd071

View File

@ -771,9 +771,9 @@ fi
setprop vendor.display.res_switch_en 1
setprop dalvik.vm.isa.arm64.features runtime
if getprop ro.bionic.cpu_variant |grep -q kryo300;then
resetprop ro.bionic.cpu_variant cortex-a75
setprop dalvik.vm.isa.arm64.variant cortex-a75
setprop dalvik.vm.isa.arm64.features runtime
fi