Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6de8866 authored by Steve McKay's avatar Steve McKay
Browse files

Fix build warnings about resources.

Add positional args to camera format string.
Reference correct color from usb shortcut image.

Bug: 64384945
Bug: 64387363
Test: Build and see command warnings go away.
Change-Id: I2507d217733c8eb49916d804ce90932a322cf9c3
parent 26ff5d3b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -19,13 +19,13 @@
    <background android:drawable="@color/shortcut_background" />
    <foreground>
        <inset android:inset="33%">
            <vector
            <vector xmlns:android="http://schemas.android.com/apk/res/android"
                android:width="24dp"
                android:height="24dp"
                android:viewportWidth="24.0"
                android:viewportHeight="24.0">
                android:viewportHeight="24"
                android:viewportWidth="24">
                <path
                    android:fillColor="@color/ic_shorcut_foreground"
                    android:fillColor="@color/shortcut_foreground"
                    android:pathData="M15 7v4h1v2h-3V5h2l-3,-4,-3 4h2v8H8v-2.07c.7,-.37 1.2,-1.08 1.2,-1.93 0,-1.21,-.99,-2.2,-2.2,-2.2,-1.21 0,-2.2.99,-2.2 2.2 0 .85.5 1.56 1.2 1.93V13c0 1.11.89 2 2 2h3v3.05c-.71.37,-1.2 1.1,-1.2 1.95 0 1.22.99 2.2 2.2 2.2 1.21 0 2.2,-.98 2.2,-2.2 0,-.85,-.49,-1.58,-1.2,-1.95V15h3c1.11 0 2,-.89 2,-2v-2h1V7h-4z"/>
            </vector>
        </inset>
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@
    <!-- The camera make and model. -->
    <string name="metadata_camera">Camera</string>
    <!-- The camera make and model. Where make is usually the company, and model is the individual camera model name. -->
    <string name="metadata_camera_format"><xliff:g id="make" example="Sony">%s</xliff:g> <xliff:g id="model" example="Snazzy Snapper">%s</xliff:g></string>
    <string name="metadata_camera_format"><xliff:g id="make" example="Sony">%1$s</xliff:g> <xliff:g id="model" example="Snazzy Snapper">%2$s</xliff:g></string>
    <!-- The value of a photos aperture. Note that this is probably camera EXIF data.-->
    <string name="metadata_aperture">Aperture</string>
    <!-- The value of a photos shutter speed. Note that this is probably camera EXIF data.-->