OmniControl: remove local preference theme
no idea why I added it in the first place here
Change-Id: Id401bffe793edc8c0b3d24cfdc31f0bb8ed58676
diff --git a/app/src/main/res-private/color-v31/omni_settings_switch_thumb_color.xml b/app/src/main/res-private/color-v31/omni_settings_switch_thumb_color.xml
deleted file mode 100644
index 0a8cdd9..0000000
--- a/app/src/main/res-private/color-v31/omni_settings_switch_thumb_color.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2021 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <!-- Disabled status of thumb -->
- <item android:state_enabled="false"
- android:color="@color/omni_settings_thumb_disabled_color" />
- <!-- Toggle off status of thumb -->
- <item android:state_checked="false"
- android:color="@color/omni_settings_thumb_off_color" />
- <!-- Enabled or toggle on status of thumb -->
- <item android:color="@color/omni_settings_state_on_color" />
-</selector>
diff --git a/app/src/main/res-private/color-v31/omni_settings_switch_track_color.xml b/app/src/main/res-private/color-v31/omni_settings_switch_track_color.xml
deleted file mode 100644
index 92561d9..0000000
--- a/app/src/main/res-private/color-v31/omni_settings_switch_track_color.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2021 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <!-- Disabled status of thumb -->
- <item android:state_enabled="false"
- android:color="@color/omni_settings_track_off_color"
- android:alpha="?android:attr/disabledAlpha" />
- <!-- Toggle off status of thumb -->
- <item android:state_checked="false"
- android:color="@color/omni_settings_track_off_color" />
- <!-- Enabled or toggle on status of thumb -->
- <item android:color="@color/omni_settings_track_on_color" />
-</selector>
diff --git a/app/src/main/res-private/color-v31/omni_settings_switch_track_off.xml b/app/src/main/res-private/color-v31/omni_settings_switch_track_off.xml
deleted file mode 100644
index 762bb31..0000000
--- a/app/src/main/res-private/color-v31/omni_settings_switch_track_off.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2021 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:color="@android:color/system_neutral2_500" android:lStar="45" />
-</selector>
\ No newline at end of file
diff --git a/app/src/main/res-private/color-v31/omni_settings_switch_track_on.xml b/app/src/main/res-private/color-v31/omni_settings_switch_track_on.xml
deleted file mode 100644
index 81ddf29..0000000
--- a/app/src/main/res-private/color-v31/omni_settings_switch_track_on.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2021 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:color="@android:color/system_accent2_500" android:lStar="51" />
-</selector>
\ No newline at end of file
diff --git a/app/src/main/res-private/drawable-v31/omni_settings_switch_thumb.xml b/app/src/main/res-private/drawable-v31/omni_settings_switch_thumb.xml
deleted file mode 100644
index 9074d89..0000000
--- a/app/src/main/res-private/drawable-v31/omni_settings_switch_thumb.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2021 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item
- android:top="4dp"
- android:left="4dp"
- android:right="4dp"
- android:bottom="4dp">
- <shape android:shape="oval" >
- <size android:height="20dp" android:width="20dp" />
- <solid android:color="@color/omni_settings_switch_thumb_color" />
- </shape>
- </item>
-</layer-list>
\ No newline at end of file
diff --git a/app/src/main/res-private/drawable-v31/omni_settings_switch_track.xml b/app/src/main/res-private/drawable-v31/omni_settings_switch_track.xml
deleted file mode 100644
index 532c254..0000000
--- a/app/src/main/res-private/drawable-v31/omni_settings_switch_track.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2021 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<shape
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:shape="rectangle"
- android:width="52dp"
- android:height="28dp">
-
- <solid android:color="@color/omni_settings_switch_track_color" />
- <corners android:radius="35dp" />
-</shape>
\ No newline at end of file
diff --git a/app/src/main/res-private/values-night-v31/colors.xml b/app/src/main/res-private/values-night-v31/colors.xml
deleted file mode 100644
index 400bc84..0000000
--- a/app/src/main/res-private/values-night-v31/colors.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <!-- Material next thumb disable color-->
- <color name="omni_settings_thumb_disabled_color">@android:color/system_neutral1_700</color>
-
- <!-- Material next thumb off color-->
- <color name="omni_settings_thumb_off_color">@android:color/system_neutral1_400</color>
-
- <!-- Material next track on color-->
- <color name="omni_settings_track_on_color">@color/omni_settings_switch_track_on</color>
-
- <!-- Material next track off color-->
- <color name="omni_settings_track_off_color">@android:color/system_neutral1_700</color>
-</resources>
\ No newline at end of file
diff --git a/app/src/main/res-private/values-v31/colors.xml b/app/src/main/res-private/values-v31/colors.xml
deleted file mode 100644
index be1de09..0000000
--- a/app/src/main/res-private/values-v31/colors.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <color name="omni_settings_state_on_color">@android:color/system_accent1_100</color>
-
- <!-- Material next state off color-->
- <color name="omni_settings_state_off_color">@android:color/system_accent2_100</color>
-
- <!-- Material next thumb disable color-->
- <color name="omni_settings_thumb_disabled_color">@android:color/system_neutral2_100</color>
-
- <!-- Material next thumb off color-->
- <color name="omni_settings_thumb_off_color">@android:color/system_neutral2_300</color>
-
- <!-- Material next track on color-->
- <color name="omni_settings_track_on_color">@android:color/system_accent1_600</color>
-
- <!-- Material next track off color-->
- <color name="omni_settings_track_off_color">@color/omni_settings_switch_track_off</color>
-</resources>
\ No newline at end of file
diff --git a/app/src/main/res-private/values-v31/config.xml b/app/src/main/res-private/values-v31/config.xml
deleted file mode 100644
index f5db48c..0000000
--- a/app/src/main/res-private/values-v31/config.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <bool name="omni_settings_icon_space_reserved">false</bool>
- <bool name="omni_settings_config_allow_divider">false</bool>
-</resources>
\ No newline at end of file
diff --git a/app/src/main/res-private/values-v31/dimens.xml b/app/src/main/res-private/values-v31/dimens.xml
deleted file mode 100644
index 9b85225..0000000
--- a/app/src/main/res-private/values-v31/dimens.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <dimen name="omni_pref_title_text_size">18sp</dimen>
-</resources>
diff --git a/app/src/main/res-private/values-v31/styles_preference.xml b/app/src/main/res-private/values-v31/styles_preference.xml
deleted file mode 100644
index a460fb4..0000000
--- a/app/src/main/res-private/values-v31/styles_preference.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <style name="Omni.PreferenceTheme" parent="@style/PreferenceThemeOverlay">
- <item name="preferenceCategoryStyle">@style/Omni.CategoryStyle</item>
- <item name="preferenceCategoryTitleTextAppearance">@style/Omni.CategoryTitle</item>
- <item name="preferenceScreenStyle">@style/Omni.PreferenceScreenStyle</item>
- <item name="preferenceStyle">@style/Omni.PreferenceStyle</item>
- <item name="switchPreferenceStyle">@style/Omni.SwitchPreferenceStyle</item>
- <item name="dropdownPreferenceStyle">@style/Omni.DropDownPreferenceStyle</item>
- <item name="dialogPreferenceStyle">@style/Omni.DialogPreferenceStyle</item>
- <item name="editTextPreferenceStyle">@style/Omni.EditTextPreferenceStyle</item>
- <item name="checkBoxPreferenceStyle">@style/Omni.CheckboxPreferenceStyle</item>
- </style>
-
- <style name="Omni.CategoryStyle" parent="@style/Preference.Category.Material">
- <item name="iconSpaceReserved">@bool/omni_settings_icon_space_reserved</item>
- <item name="allowDividerAbove">@bool/omni_settings_config_allow_divider</item>
- <item name="allowDividerBelow">@bool/omni_settings_config_allow_divider</item>
- </style>
-
- <style name="Omni.PreferenceStyle" parent="@style/Preference.Material">
- <item name="iconSpaceReserved">@bool/omni_settings_icon_space_reserved</item>
- </style>
-
- <style name="Omni.PreferenceScreenStyle"
- parent="@style/Preference.PreferenceScreen.Material">
- <item name="iconSpaceReserved">@bool/omni_settings_icon_space_reserved</item>
- </style>
-
- <style name="Omni.SwitchPreferenceStyle"
- parent="@style/Preference.SwitchPreference.Material">
- <item name="iconSpaceReserved">@bool/omni_settings_icon_space_reserved</item>
- </style>
-
- <style name="Omni.CheckboxPreferenceStyle"
- parent="@style/Preference.CheckBoxPreference.Material">
- <item name="iconSpaceReserved">@bool/omni_settings_icon_space_reserved</item>
- </style>
-
- <style name="Omni.DropDownPreferenceStyle"
- parent="@style/Preference.DropDown.Material">
- <item name="iconSpaceReserved">@bool/omni_settings_icon_space_reserved</item>
- </style>
-
- <style name="Omni.DialogPreferenceStyle"
- parent="@style/Preference.DialogPreference.Material">
- <item name="iconSpaceReserved">@bool/omni_settings_icon_space_reserved</item>
- </style>
-
- <style name="Omni.EditTextPreferenceStyle"
- parent="@style/Preference.DialogPreference.EditTextPreference.Material">
- <item name="iconSpaceReserved">@bool/omni_settings_icon_space_reserved</item>
- <item name="allowDividerAbove">@bool/omni_settings_config_allow_divider</item>
- <item name="allowDividerBelow">@bool/omni_settings_config_allow_divider</item>
- </style>
-
- <style name="Omni.SwitchStyle"
- parent="@android:style/Widget.Material.CompoundButton.Switch">
- <item name="android:switchMinWidth">52dp</item>
- <item name="android:thumb">@drawable/omni_settings_switch_thumb</item>
- <item name="android:track">@drawable/omni_settings_switch_track</item>
- </style>
-
- <style name="Omni.PreferenceTitle"
- parent="@style/TextAppearance.Material3.BodyMedium">
- <item name="android:textSize">@dimen/omni_pref_title_text_size</item>
- </style>
-
- <style name="Omni.CategoryTitle" parent="@android:style/TextAppearance.Material.Body2">
- </style>
-</resources>