summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorPinyao Ting <pinyaoting@google.com>2019-08-26 14:36:02 -0700
committerPinyao Ting <pinyaoting@google.com>2019-09-25 15:58:41 -0700
commit59e908b54f72768efcae3db5897c50010d1fc5f2 (patch)
tree22af25a40d765647e8e85e07e8265ccbefdf89e5 /res
parent0b72d6a8913012f3f3aab2c28924185accbb6cb4 (diff)
downloadandroid_packages_apps_Trebuchet-59e908b54f72768efcae3db5897c50010d1fc5f2.tar.gz
android_packages_apps_Trebuchet-59e908b54f72768efcae3db5897c50010d1fc5f2.tar.bz2
android_packages_apps_Trebuchet-59e908b54f72768efcae3db5897c50010d1fc5f2.zip
migrate custom widgets in comply with plugin framework
Bug: 139888225 Change-Id: I8a3d0fe2689ad5ba24b19309728bbad0b6287f71 Merged-In: I8a3d0fe2689ad5ba24b19309728bbad0b6287f71 (cherry picked from commit c7a6c2979cc063dd493316d0d19cbc0501a23a64)
Diffstat (limited to 'res')
-rw-r--r--res/values/attrs.xml15
-rw-r--r--res/xml/custom_widgets.xml31
2 files changed, 0 insertions, 46 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index e76b89826..7be584e93 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -159,21 +159,6 @@
<attr name="canThumbDetach" format="boolean" />
</declare-styleable>
- <declare-styleable name="CustomAppWidgetProviderInfo">
- <attr name="providerId" format="integer" />
-
- <attr name="android:label" />
- <attr name="android:initialLayout" />
- <attr name="android:icon" />
- <attr name="android:previewImage" />
- <attr name="android:resizeMode" />
-
- <attr name="numRows" />
- <attr name="numColumns" />
- <attr name="numMinRows" format="integer" />
- <attr name="numMinColumns" format="integer" />
- </declare-styleable>
-
<declare-styleable name="PreviewFragment">
<attr name="android:name" />
<attr name="android:id" />
diff --git a/res/xml/custom_widgets.xml b/res/xml/custom_widgets.xml
deleted file mode 100644
index 4b5438650..000000000
--- a/res/xml/custom_widgets.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2017 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.
--->
-
-<widgets>
- <!-- Sample widget definition
- <widget
- android:label="My custom widget"
- android:initialLayout="@layout/sample_widget_layout"
- android:icon="@drawable/ic_launcher_home"
- android:resizeMode="horizontal|vertical"
- launcher:numRows="2"
- launcher:numColumns="3"
- launcher:numMinRows="1"
- launcher:numMinColumns="2"
- launcher:providerId="1" />
- -->
-</widgets> \ No newline at end of file