From 691a5872fcd5f8558a7ca8fab603a04efe258d50 Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Sat, 6 Aug 2022 22:47:10 +0200 Subject: msm8996-common: configpanel: Update for 12 and cleanup Change-Id: Ib7b28f04d83ee29aee73cf3bdf62f99cf99824fd --- configpanel/Android.mk | 3 +- configpanel/AndroidManifest.xml | 3 +- configpanel/res/mipmap-anydpi/ic_launcher.xml | 20 --------- configpanel/res/mipmap-hdpi/ic_background.png | Bin 2030 -> 0 bytes configpanel/res/mipmap-hdpi/ic_foreground.png | Bin 10481 -> 0 bytes configpanel/res/mipmap-mdpi/ic_background.png | Bin 1364 -> 0 bytes configpanel/res/mipmap-mdpi/ic_foreground.png | Bin 5246 -> 0 bytes configpanel/res/mipmap-xhdpi/ic_background.png | Bin 2545 -> 0 bytes configpanel/res/mipmap-xhdpi/ic_foreground.png | Bin 17082 -> 0 bytes configpanel/res/mipmap-xxhdpi/ic_background.png | Bin 3809 -> 0 bytes configpanel/res/mipmap-xxhdpi/ic_foreground.png | Bin 34369 -> 0 bytes configpanel/res/mipmap-xxxhdpi/ic_background.png | Bin 5218 -> 0 bytes configpanel/res/mipmap-xxxhdpi/ic_foreground.png | Bin 57166 -> 0 bytes configpanel/res/values/styles.xml | 50 --------------------- configpanel/res/xml/button_panel.xml | 3 +- .../settings/device/ButtonSettingsActivity.java | 7 +-- .../settings/device/ButtonSettingsFragment.java | 11 ----- 17 files changed, 9 insertions(+), 88 deletions(-) delete mode 100644 configpanel/res/mipmap-anydpi/ic_launcher.xml delete mode 100644 configpanel/res/mipmap-hdpi/ic_background.png delete mode 100644 configpanel/res/mipmap-hdpi/ic_foreground.png delete mode 100644 configpanel/res/mipmap-mdpi/ic_background.png delete mode 100644 configpanel/res/mipmap-mdpi/ic_foreground.png delete mode 100644 configpanel/res/mipmap-xhdpi/ic_background.png delete mode 100644 configpanel/res/mipmap-xhdpi/ic_foreground.png delete mode 100644 configpanel/res/mipmap-xxhdpi/ic_background.png delete mode 100644 configpanel/res/mipmap-xxhdpi/ic_foreground.png delete mode 100644 configpanel/res/mipmap-xxxhdpi/ic_background.png delete mode 100644 configpanel/res/mipmap-xxxhdpi/ic_foreground.png delete mode 100644 configpanel/res/values/styles.xml diff --git a/configpanel/Android.mk b/configpanel/Android.mk index 61fcf01..cde40f6 100644 --- a/configpanel/Android.mk +++ b/configpanel/Android.mk @@ -13,7 +13,8 @@ LOCAL_USE_AAPT2 := true LOCAL_STATIC_ANDROID_LIBRARIES := \ androidx.core_core \ - androidx.preference_preference + androidx.preference_preference \ + org.lineageos.settings.resources LOCAL_STATIC_JAVA_LIBRARIES := \ org.lineageos.platform.internal diff --git a/configpanel/AndroidManifest.xml b/configpanel/AndroidManifest.xml index 22c1e33..b7c7905 100644 --- a/configpanel/AndroidManifest.xml +++ b/configpanel/AndroidManifest.xml @@ -27,9 +27,7 @@ @@ -47,6 +45,7 @@ diff --git a/configpanel/res/mipmap-anydpi/ic_launcher.xml b/configpanel/res/mipmap-anydpi/ic_launcher.xml deleted file mode 100644 index d8649ba..0000000 --- a/configpanel/res/mipmap-anydpi/ic_launcher.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - diff --git a/configpanel/res/mipmap-hdpi/ic_background.png b/configpanel/res/mipmap-hdpi/ic_background.png deleted file mode 100644 index f01deeb..0000000 Binary files a/configpanel/res/mipmap-hdpi/ic_background.png and /dev/null differ diff --git a/configpanel/res/mipmap-hdpi/ic_foreground.png b/configpanel/res/mipmap-hdpi/ic_foreground.png deleted file mode 100644 index 97158bc..0000000 Binary files a/configpanel/res/mipmap-hdpi/ic_foreground.png and /dev/null differ diff --git a/configpanel/res/mipmap-mdpi/ic_background.png b/configpanel/res/mipmap-mdpi/ic_background.png deleted file mode 100644 index 58bcf52..0000000 Binary files a/configpanel/res/mipmap-mdpi/ic_background.png and /dev/null differ diff --git a/configpanel/res/mipmap-mdpi/ic_foreground.png b/configpanel/res/mipmap-mdpi/ic_foreground.png deleted file mode 100644 index 7b9bc07..0000000 Binary files a/configpanel/res/mipmap-mdpi/ic_foreground.png and /dev/null differ diff --git a/configpanel/res/mipmap-xhdpi/ic_background.png b/configpanel/res/mipmap-xhdpi/ic_background.png deleted file mode 100644 index 681a199..0000000 Binary files a/configpanel/res/mipmap-xhdpi/ic_background.png and /dev/null differ diff --git a/configpanel/res/mipmap-xhdpi/ic_foreground.png b/configpanel/res/mipmap-xhdpi/ic_foreground.png deleted file mode 100644 index c079116..0000000 Binary files a/configpanel/res/mipmap-xhdpi/ic_foreground.png and /dev/null differ diff --git a/configpanel/res/mipmap-xxhdpi/ic_background.png b/configpanel/res/mipmap-xxhdpi/ic_background.png deleted file mode 100644 index 1e707e8..0000000 Binary files a/configpanel/res/mipmap-xxhdpi/ic_background.png and /dev/null differ diff --git a/configpanel/res/mipmap-xxhdpi/ic_foreground.png b/configpanel/res/mipmap-xxhdpi/ic_foreground.png deleted file mode 100644 index ecc70af..0000000 Binary files a/configpanel/res/mipmap-xxhdpi/ic_foreground.png and /dev/null differ diff --git a/configpanel/res/mipmap-xxxhdpi/ic_background.png b/configpanel/res/mipmap-xxxhdpi/ic_background.png deleted file mode 100644 index b6e860b..0000000 Binary files a/configpanel/res/mipmap-xxxhdpi/ic_background.png and /dev/null differ diff --git a/configpanel/res/mipmap-xxxhdpi/ic_foreground.png b/configpanel/res/mipmap-xxxhdpi/ic_foreground.png deleted file mode 100644 index 3133594..0000000 Binary files a/configpanel/res/mipmap-xxxhdpi/ic_foreground.png and /dev/null differ diff --git a/configpanel/res/values/styles.xml b/configpanel/res/values/styles.xml deleted file mode 100644 index 8dbdd4f..0000000 --- a/configpanel/res/values/styles.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/configpanel/res/xml/button_panel.xml b/configpanel/res/xml/button_panel.xml index 6e13cb6..c0e77b4 100644 --- a/configpanel/res/xml/button_panel.xml +++ b/configpanel/res/xml/button_panel.xml @@ -15,7 +15,8 @@ See the License for the specific language governing permissions and limitations under the License. --> - +