diff options
author | Danny Baumann <dannybaumann@web.de> | 2016-03-16 10:19:00 -0500 |
---|---|---|
committer | Jan Altensen <info@stricted.net> | 2020-03-20 14:56:35 +0100 |
commit | 13a4f5e8aed2e6dae101c37ce7abb507452512dc (patch) | |
tree | 575314cec5232129742d880b8c9f123e7968d5b8 | |
parent | 7944079337f567d799e41584509f5bf18f639785 (diff) | |
download | android_hardware_samsung-13a4f5e8aed2e6dae101c37ce7abb507452512dc.tar.gz android_hardware_samsung-13a4f5e8aed2e6dae101c37ce7abb507452512dc.tar.bz2 android_hardware_samsung-13a4f5e8aed2e6dae101c37ce7abb507452512dc.zip |
samsung: doze: Use new mechanism to include tiles into settings dashboard.
Change-Id: I91cce3ee6faac16402c84f08e4957b1e3722eaa6
-rw-r--r-- | doze/AndroidManifest.xml | 9 | ||||
-rw-r--r-- | doze/res/drawable/ic_settings_gestures.xml | 32 |
2 files changed, 38 insertions, 3 deletions
diff --git a/doze/AndroidManifest.xml b/doze/AndroidManifest.xml index 2bdc456..fe2cfe4 100644 --- a/doze/AndroidManifest.xml +++ b/doze/AndroidManifest.xml @@ -34,11 +34,14 @@ android:label="@string/screen_gestures_panel_title" android:theme="@android:style/Theme.Material.Settings"> <intent-filter> - <action android:name="com.cyanogenmod.action.LAUNCH_TOUCHSCREEN_GESTURE_SETTINGS" /> + <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> </intent-filter> <meta-data - android:name="com.android.settings.title" - android:resource="@string/screen_gestures_panel_title"/> + android:name="com.android.settings.category" + android:value="com.android.settings.category.device" /> + <meta-data + android:name="com.android.settings.icon" + android:resource="@drawable/ic_settings_gestures" /> </activity> </application> diff --git a/doze/res/drawable/ic_settings_gestures.xml b/doze/res/drawable/ic_settings_gestures.xml new file mode 100644 index 0000000..95cdede --- /dev/null +++ b/doze/res/drawable/ic_settings_gestures.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2015 The CyanogenMod 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:color/white" + android:pathData="M4.7,6.9c0.7-0.7,1.4-1.4,1.7-1.2c0.5,0.2,0,1-0.3,1.5c-0.2,0.4-2.8,3.9-2.8,6.3c0,1.3,0.5,2.3,1.3,3 +c0.7,0.6,1.7,0.7,2.6,0.5c1.1-0.3,1.9-1.4,3-2.8c1.2-1.5,2.8-3.4,4-3.4c1.6,0,1.6,1,1.7,1.8c-3.7,0.6-5.3,3.7-5.3,5.4 +s1.4,3.1,3.2,3.1c1.6,0,4.3-1.3,4.6-6.1H21v-2.5h-2.4c-0.1-1.7-1.1-4.2-4-4.2c-2.2,0-4.1,1.9-4.9,2.8c-0.6,0.7-2,2.5-2.3,2.7 +c-0.2,0.3-0.7,0.8-1.1,0.8c-0.4,0-0.7-0.8-0.4-1.9c0.3-1.1,1.4-2.9,1.8-3.5C8.5,8,9.1,7.2,9.1,5.9C9.1,3.7,7.4,3,6.6,3 +C5.3,3,4.1,4,3.9,4.3C3.5,4.6,3.2,4.9,3,5.2L4.7,6.9z +M13.9,18.6c-0.3,0-0.7-0.3-0.7-0.7c0-0.6,0.7-2.2,2.8-2.8 +C15.8,17.8,14.6,18.6,13.9,18.6z" /> +</vector> |