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

Commit 1c9bd822 authored by LuK1337's avatar LuK1337
Browse files

LineageParts: Add ACTION_AMBIENT_DISPLAY icon

Change-Id: I0194459dcdc388f9d517f0b83dc58cf3a459f775
parent 1b1932c0
Loading
Loading
Loading
Loading
+27 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (c) 2020 The LineageOS 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.
-->
<vector
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">

    <path
        android:fillColor="?android:attr/colorAccent"
        android:pathData="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21" />
</vector>
+2 −0
Original line number Original line Diff line number Diff line
@@ -130,6 +130,8 @@ public class TouchscreenGestureSettings extends SettingsPreferenceFragment {
                    return R.drawable.ic_gesture_action_volume_down;
                    return R.drawable.ic_gesture_action_volume_down;
                case TouchscreenGestureConstants.ACTION_VOLUME_UP:
                case TouchscreenGestureConstants.ACTION_VOLUME_UP:
                    return R.drawable.ic_gesture_action_volume_up;
                    return R.drawable.ic_gesture_action_volume_up;
                case TouchscreenGestureConstants.ACTION_AMBIENT_DISPLAY:
                    return R.drawable.ic_gesture_action_ambient_display;
                default:
                default:
                    // No gesture action
                    // No gesture action
                    return R.drawable.ic_gesture_action_none;
                    return R.drawable.ic_gesture_action_none;