diff options
author | Winson Chung <winsonc@google.com> | 2018-03-05 19:39:21 +0000 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2018-03-05 19:39:21 +0000 |
commit | 1054d4e8f2c690689ab3289826eebdcd00cb59af (patch) | |
tree | fe21e0db577a62912dbda25a338646b14e5eadb6 /tests/res/xml | |
parent | f502e5faecbd460ad3b8258168c5812cbaa34c4e (diff) | |
download | android_packages_apps_Trebuchet-1054d4e8f2c690689ab3289826eebdcd00cb59af.tar.gz android_packages_apps_Trebuchet-1054d4e8f2c690689ab3289826eebdcd00cb59af.tar.bz2 android_packages_apps_Trebuchet-1054d4e8f2c690689ab3289826eebdcd00cb59af.zip |
Revert "Revert "Adding support for hiding widgets from the widget tray and reconfiguring widgets""
This reverts commit f502e5faecbd460ad3b8258168c5812cbaa34c4e.
Reason for revert: Reverting post-build
Change-Id: I09eb292dbbbe37ffaf3abc477aa2ddb5700093b8
Diffstat (limited to 'tests/res/xml')
-rw-r--r-- | tests/res/xml/appwidget_hidden.xml | 11 | ||||
-rw-r--r-- | tests/res/xml/appwidget_with_config.xml | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/res/xml/appwidget_hidden.xml b/tests/res/xml/appwidget_hidden.xml new file mode 100644 index 000000000..6f0e0066f --- /dev/null +++ b/tests/res/xml/appwidget_hidden.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<appwidget-provider + xmlns:android="http://schemas.android.com/apk/res/android" + android:minWidth="180dp" + android:minHeight="110dp" + android:updatePeriodMillis="86400000" + android:initialLayout="@layout/test_layout_appwidget_blue" + android:resizeMode="horizontal|vertical" + android:widgetFeatures="hide_from_picker" + android:widgetCategory="home_screen"> +</appwidget-provider>
\ No newline at end of file diff --git a/tests/res/xml/appwidget_with_config.xml b/tests/res/xml/appwidget_with_config.xml index 3e96c6f2f..840368987 100644 --- a/tests/res/xml/appwidget_with_config.xml +++ b/tests/res/xml/appwidget_with_config.xml @@ -7,5 +7,6 @@ android:initialLayout="@layout/test_layout_appwidget_blue" android:configure="com.android.launcher3.testcomponent.WidgetConfigActivity" android:resizeMode="horizontal|vertical" + android:widgetFeatures="reconfigurable" android:widgetCategory="home_screen"> </appwidget-provider>
\ No newline at end of file |