From 7a0cb4b6174cc2780f4d1731367dd4d79418b894 Mon Sep 17 00:00:00 2001 From: Etan Cohen Date: Fri, 20 Dec 2019 12:42:26 -0800 Subject: [PATCH] [WIFI] Remove System APIs overlays added as part of Wi-Fi mainline The removed 4 overlays are unnecessarily shared between connectivity and Wi-Fi: there's no reason or requirement to assume they are identical. Having them as System API would necessitate a formal API - getters. Therefore, remove them as System API. Duplicate them within the Wi-Fi mainline module. Bug: 144764992 Test: atest android.net.wifi Test: atest ConnectivityServiceTest Test: atest com.android.server.wifi Change-Id: Ic5d1076cab5210eef17c2672d06e2566449939c2 --- api/system-current.txt | 4 ---- core/res/res/values/public.xml | 8 +++----- core/res/res/values/symbols.xml | 1 + 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/api/system-current.txt b/api/system-current.txt index 2d0213fa3c0f6..a22cb5f4d12a0 100755 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -260,7 +260,6 @@ package android { public static final class R.drawable { field public static final int ic_info = 17301684; // 0x10800b4 - field public static final int stat_notify_wifi_in_range = 17301685; // 0x10800b5 } public static final class R.raw { @@ -281,9 +280,6 @@ package android { field public static final int config_helpIntentNameKey = 17039390; // 0x104001e field public static final int config_helpPackageNameKey = 17039387; // 0x104001b field public static final int config_helpPackageNameValue = 17039388; // 0x104001c - field public static final int notification_channel_network_alerts = 17039398; // 0x1040026 - field public static final int notification_channel_network_available = 17039399; // 0x1040027 - field public static final int notification_channel_network_status = 17039397; // 0x1040025 } public static final class R.style { diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml index 78c4efec5b720..4bbfeafdfc9cc 100644 --- a/core/res/res/values/public.xml +++ b/core/res/res/values/public.xml @@ -3007,8 +3007,6 @@ - - @@ -3019,11 +3017,11 @@ - + - + - + diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index d30c7bffd9d2d..0fbef7046ebb2 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -1342,6 +1342,7 @@ +