From 029e64d93124cbe10c44d584aaa94b882e6df5e3 Mon Sep 17 00:00:00 2001 From: Sarah Chin Date: Fri, 20 Mar 2020 03:43:48 +0000 Subject: [PATCH] Revert "Expose hidden resources used in telephony/common" This reverts commit dd066606452043c2f70288ac489d94334c7ca45b. Reason for revert: Remove mainline API for R Test: build Bug: 148174114 Change-Id: I8a8cddfd1d824c908c49f818f2671941b4bb5dca Merged-In: I712958984254ca6f16a9604d2aab532500dc1ca9 --- api/system-current.txt | 4 ---- api/system-lint-baseline.txt | 6 ------ core/res/res/values/public.xml | 9 --------- .../android/internal/telephony/CarrierAppUtils.java | 3 ++- .../com/android/internal/telephony/GsmAlphabet.java | 10 +++++----- .../com/google/android/mms/util/SqliteWrapper.java | 3 ++- 6 files changed, 9 insertions(+), 26 deletions(-) diff --git a/api/system-current.txt b/api/system-current.txt index 8f3a12655bef9..3e853a9e02d3d 100755 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -228,9 +228,6 @@ package android { public static final class R.array { field public static final int config_keySystemUuidMapping = 17235973; // 0x1070005 - field public static final int config_restrictedPreinstalledCarrierApps = 17235975; // 0x1070007 - field public static final int config_sms_enabled_locking_shift_tables = 17235977; // 0x1070009 - field public static final int config_sms_enabled_single_shift_tables = 17235976; // 0x1070008 field public static final int simColors = 17235974; // 0x1070006 } @@ -278,7 +275,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 low_memory = 17039397; // 0x1040025 } public static final class R.style { diff --git a/api/system-lint-baseline.txt b/api/system-lint-baseline.txt index d2b3a6446346a..306b8afaadae9 100644 --- a/api/system-lint-baseline.txt +++ b/api/system-lint-baseline.txt @@ -165,12 +165,6 @@ PublicTypedef: android.content.integrity.Formula.Tag: Don't expose @IntDef: @Tag PublicTypedef: android.content.integrity.Rule.Effect: Don't expose @IntDef: @Effect must be hidden. -ResourceValueFieldName: android.R.array#config_sms_enabled_locking_shift_tables: - Expected resource name in `android.R.array` to be in the `fooBarBaz` style, was `config_sms_enabled_locking_shift_tables` -ResourceValueFieldName: android.R.array#config_sms_enabled_single_shift_tables: - Expected resource name in `android.R.array` to be in the `fooBarBaz` style, was `config_sms_enabled_single_shift_tables` - - SamShouldBeLast: android.accounts.AccountManager#addAccount(String, String, String[], android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback, android.os.Handler): SamShouldBeLast: android.accounts.AccountManager#addOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean): diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml index 93080e9a8016a..8a7b515ee4363 100644 --- a/core/res/res/values/public.xml +++ b/core/res/res/values/public.xml @@ -3010,8 +3010,6 @@ - - @@ -3026,14 +3024,7 @@ - - - - - - -