Move font size related resources to SettingsLib (1/2)
Since creating the seekbar for changing font size in SystemUI requires
the size of the value entry array and the values in the array.
Therefore, we move the related resource to SettingsLib to share the usage.
Bug: 242326166
Test: make RunSettingsRoboTests ROBOTEST_FILTER=FontSizeDataTest
Test: Maually test the availability of changing font size through
Settings page
Change-Id: Ia2621e3b4c71f900e6591644d0e3f93bedbe4ee8
Merged-In: If630bd9c9c27823c210410b53342b921a11bbfb9
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 42d60ee..f5709e7 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -158,20 +158,6 @@
<item>1800000</item>
</string-array>
- <string-array name="entries_font_size">
- <item msgid="6490061470416867723">Small</item>
- <item msgid="3579015730662088893">Default</item>
- <item msgid="1678068858001018666">Large</item>
- <item msgid="490158884605093126">Largest</item>
- </string-array>
-
- <string-array name="entryvalues_font_size" translatable="false">
- <item>0.85</item>
- <item>1.0</item>
- <item>1.15</item>
- <item>1.30</item>
- </string-array>
-
<!-- Wi-Fi settings -->
<!-- Match this with the order of NetworkInfo.DetailedState. --> <skip />
diff --git a/src/com/android/settings/accessibility/FontSizeData.java b/src/com/android/settings/accessibility/FontSizeData.java
index 1d4f6bd..56980a4 100644
--- a/src/com/android/settings/accessibility/FontSizeData.java
+++ b/src/com/android/settings/accessibility/FontSizeData.java
@@ -23,7 +23,7 @@
import android.content.res.Resources;
import android.provider.Settings;
-import com.android.settings.R;
+import com.android.settingslib.R;
import java.util.Arrays;
import java.util.List;