From 4fff0440b058e4b3898d3fbf52c4376938e2d0e1 Mon Sep 17 00:00:00 2001 From: SzuWei Lin Date: Thu, 14 Mar 2019 13:21:50 +0800 Subject: [PATCH] Disable RescueParty in GSI temporary RescueParty reboot the device to recovery mode if there is any priv app die continuously. The behavior blocks the testing. Disable the feature temporary before all problem apps fixed. Bug: 120679683 Test: Boot a device with GSI and a die app Test: Unplug USB and does not auto reboot Change-Id: I70e5b7222299c6d0173d87e41d7a68beeda77dd5 --- target/board/gsi_system.prop | 3 +++ target/board/gsi_system_user.prop | 3 +++ 2 files changed, 6 insertions(+) diff --git a/target/board/gsi_system.prop b/target/board/gsi_system.prop index 0c04a9529f..d768c83c98 100644 --- a/target/board/gsi_system.prop +++ b/target/board/gsi_system.prop @@ -4,5 +4,8 @@ ro.cp_system_other_odex=0 # GSI always disables adb authentication ro.adb.secure=0 +# 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 diff --git a/target/board/gsi_system_user.prop b/target/board/gsi_system_user.prop index 1aa553b6a3..becb783d3c 100644 --- a/target/board/gsi_system_user.prop +++ b/target/board/gsi_system_user.prop @@ -1,5 +1,8 @@ # GSI always generate dex pre-opt in system image ro.cp_system_other_odex=0 +# 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