From 908fbc0a20ab529e298538293416b3c286731e2a Mon Sep 17 00:00:00 2001 From: "Chris.CC Lee" Date: Fri, 29 Apr 2022 15:52:49 +0800 Subject: [PATCH 1/2] [Gs101] Add NEARBY_WIFI_DEVICES for Restore We used ACCESS_FINE_LOCATION to start a WiFi P2P connection. From Android T, the required permission is changed to NEARBY_WIFI_DERVICES instead. Bug: 219855567 Test: Manual tested on Oriole. Used a local built Restore APK which declares the use of the permission. Push that APK to the test Oriole and validate the permission is granted by default. Change-Id: I56924aa3e0250c94bc4fefe5d9b901b4e23d0c2b --- default-permissions.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default-permissions.xml b/default-permissions.xml index cf2e7b76..0170254a 100644 --- a/default-permissions.xml +++ b/default-permissions.xml @@ -80,7 +80,9 @@ + + From d1d22866c5ce90224d77baef71d314c41209ebbd Mon Sep 17 00:00:00 2001 From: Sarah Chin Date: Tue, 10 May 2022 10:49:24 -0700 Subject: [PATCH 2/2] Remove config_tcp_buffers Moved to default values Test: build Bug: 222323543 Change-Id: If7ebd63c586974756d3e374b8c0cbfb27a5f1819 --- .../base/core/res/res/values/config.xml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 5c14b294..627b2423 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -268,19 +268,4 @@ true - - - 2097152,6291456,16777216,512000,2097152,8388608