From c71d9863c6c58c1e49a9d7bb4b8787235828116d Mon Sep 17 00:00:00 2001 From: SzuWei Lin Date: Thu, 3 May 2018 11:35:21 +0800 Subject: [PATCH] Disable privapp_permissions checking in GSI temporarily Some vendor apps are using shared UID without white-listing the apps. A runtime checking with these apps causes some devcies cannot boot with GSI. We disable the checking before bug b/78105955 solved. Bug: 79174430 Bug: 78105955 Test: Boot pixel devices with GSI applied the patch. Change-Id: Ic25f5e2c4506b79564959adf57839a7ddc4330c2 --- target/board/gsi_system.prop | 3 +++ target/board/treble_system.prop | 3 +++ 2 files changed, 6 insertions(+) diff --git a/target/board/gsi_system.prop b/target/board/gsi_system.prop index 4b54aaf71..0c04a9529 100644 --- a/target/board/gsi_system.prop +++ b/target/board/gsi_system.prop @@ -3,3 +3,6 @@ ro.cp_system_other_odex=0 # GSI always disables adb authentication ro.adb.secure=0 + +# TODO(b/78105955): disable privapp_permissions checking before the bug solved +ro.control_privapp_permissions=disable diff --git a/target/board/treble_system.prop b/target/board/treble_system.prop index 4b54aaf71..0c04a9529 100644 --- a/target/board/treble_system.prop +++ b/target/board/treble_system.prop @@ -3,3 +3,6 @@ ro.cp_system_other_odex=0 # GSI always disables adb authentication ro.adb.secure=0 + +# TODO(b/78105955): disable privapp_permissions checking before the bug solved +ro.control_privapp_permissions=disable