From 95ddc40d539d34f810b0f7d0709ba7c716851f8c Mon Sep 17 00:00:00 2001 From: SzuWei Lin Date: Fri, 1 Sep 2017 12:00:09 +0800 Subject: [PATCH] Disable adb authorization in GSI To support test automation, disable adb authorization in GSI. Applied the patch, and device won't ask for adb authorization after overriding system image with GSI. Bug: 64489353 Test: boot up with GSI, and check by 'adb devices' Change-Id: Ibaa3aaa90a89ae03b8b23abf37f53ede64d15789 --- target/board/treble_system.prop | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/board/treble_system.prop b/target/board/treble_system.prop index bedf10c52..4b54aaf71 100644 --- a/target/board/treble_system.prop +++ b/target/board/treble_system.prop @@ -1,2 +1,5 @@ # GSI always generate dex pre-opt in system image ro.cp_system_other_odex=0 + +# GSI always disables adb authentication +ro.adb.secure=0