diff --git a/target/board/gsi_system.prop b/target/board/gsi_system.prop index d768c83c98..780aadc0ae 100644 --- a/target/board/gsi_system.prop +++ b/target/board/gsi_system.prop @@ -4,6 +4,9 @@ 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 + # TODO(b/120679683): disable RescueParty before all problem apps solved persist.sys.disable_rescue=true diff --git a/target/board/gsi_system_user.prop b/target/board/gsi_system_user.prop index becb783d3c..217bd012ad 100644 --- a/target/board/gsi_system_user.prop +++ b/target/board/gsi_system_user.prop @@ -1,6 +1,9 @@ # 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