From 756c8c3f5bed9785f06495ff2f664d47ac1f00e5 Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Tue, 17 May 2022 16:15:36 +0100 Subject: [PATCH] Remove the *byteShort string resources from the frameworks The "byteShort" is still kept because ICU's version is too long for this use case. This commit is separated to unblock the previous commit which removed the usage of these strings. Bug: 36994779 Bug: 71580745 Bug: 217592956 Test: m droid Change-Id: I1833bd357860841037aa323cdf6acf9366b6ca1e --- boot/hiddenapi/hiddenapi-max-target-q.txt | 5 ----- core/res/res/values/strings.xml | 22 +++++----------------- core/res/res/values/symbols.xml | 5 ----- 3 files changed, 5 insertions(+), 27 deletions(-) diff --git a/boot/hiddenapi/hiddenapi-max-target-q.txt b/boot/hiddenapi/hiddenapi-max-target-q.txt index 4832dd184ec5f..fdda4ea1386e8 100644 --- a/boot/hiddenapi/hiddenapi-max-target-q.txt +++ b/boot/hiddenapi/hiddenapi-max-target-q.txt @@ -404,16 +404,11 @@ Lcom/android/internal/R$raw;->nodomain:I Lcom/android/internal/R$string;->byteShort:I Lcom/android/internal/R$string;->cancel:I Lcom/android/internal/R$string;->enable_explore_by_touch_warning_title:I -Lcom/android/internal/R$string;->gigabyteShort:I -Lcom/android/internal/R$string;->kilobyteShort:I -Lcom/android/internal/R$string;->megabyteShort:I Lcom/android/internal/R$string;->notification_title:I Lcom/android/internal/R$string;->no_matches:I Lcom/android/internal/R$string;->ok:I -Lcom/android/internal/R$string;->petabyteShort:I Lcom/android/internal/R$string;->redo:I Lcom/android/internal/R$string;->share:I -Lcom/android/internal/R$string;->terabyteShort:I Lcom/android/internal/R$string;->whichApplication:I Lcom/android/internal/R$style;->Animation_DropDownDown:I Lcom/android/internal/R$style;->Animation_DropDownUp:I diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index db0cc277c3afa..74fb5431d77c3 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -20,23 +20,11 @@ B - - kB - - MB - - GB - - TB - - PB - - %1$s %2$s + + %1$s %2$s diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 4ad95b6fc877c..00639562918be 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -737,7 +737,6 @@ - @@ -793,7 +792,6 @@ - @@ -810,7 +808,6 @@ - @@ -840,7 +837,6 @@ - @@ -1016,7 +1012,6 @@ -