aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnierinB <anierin@evolution-x.org>2022-11-20 15:29:10 +0300
committerSemavi Ulusoy <doc.divxm@gmail.com>2022-11-20 15:29:29 +0300
commitc12caa38daa26b60d819d23779ada76121c2d5dc (patch)
treec6d8bfa0c4a59f4cabc35f7cc5303f19c9806301
parentb847400c366ed721a9076cb676334979d852f322 (diff)
deviceparts: OplusParts: add OTG switch resources
** icon source: https://materialdesignicons.com Change-Id: I359239b6a9deaa2cca131d77df829cd30131a990 Signed-off-by: AnierinB <anierin@evolution-x.org> Signed-off-by: Semavi Ulusoy <doc.divxm@gmail.com>
-rw-r--r--res/drawable/ic_otg.xml9
-rw-r--r--res/values/strings.xml4
2 files changed, 13 insertions, 0 deletions
diff --git a/res/drawable/ic_otg.xml b/res/drawable/ic_otg.xml
new file mode 100644
index 0000000..3c4686f
--- /dev/null
+++ b/res/drawable/ic_otg.xml
@@ -0,0 +1,9 @@
+<!-- drawable/usb_port.xml -->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:height="24dp"
+ android:width="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path android:fillColor="@color/config_icon_tint"
+ android:pathData="M8 2C6.9 2 6 2.9 6 4V12H5V16L9 20V22H15V20L19 16V12H18V4C18 2.9 17.11 2 16 2M8 4H16V12H8M9 7V9H11V7M13 7V9H15V7Z" />
+</vector>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 5a1da79..a965785 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -364,4 +364,8 @@
<string name="cpu_title">CPU</string>
<string name="power_efficient_workqueue_title">Power efficient workqueue</string>
<string name="power_efficient_workqueue_summary">Save power by rescheduling work to a core that is already awake</string>
+
+ <!-- OplusParts - OTG -->
+ <string name="otg_title">USB-OTG</string>
+ <string name="otg_summary">Enable USB on-the-go mode</string>
</resources>