Skip to content

Commit 32fc031

Browse files
authored
Allow widgets on flip phones cover screen (#6127)
1 parent 40a835a commit 32fc031

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

app/src/main/res/xml/button_widget_info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
android:updatePeriodMillis="86400000"
1414
android:widgetFeatures="reconfigurable"
1515
android:description="@string/button_widget_desc"
16-
android:widgetCategory="home_screen"
16+
android:widgetCategory="keyguard|home_screen"
1717
android:previewImage="@drawable/widget_example_button"
1818
android:previewLayout="@layout/widget_button_wrapper_dynamiccolor" />

app/src/main/res/xml/camera_widget_info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
android:targetCellWidth="2"
1010
android:resizeMode="vertical|horizontal"
1111
android:updatePeriodMillis="3600000"
12-
android:widgetCategory="home_screen"
12+
android:widgetCategory="keyguard|home_screen"
1313
android:widgetFeatures="reconfigurable"
1414
android:description="@string/camera_widget_desc"
1515
android:previewImage="@drawable/widget_example_camera" />

app/src/main/res/xml/entity_widget_info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
android:updatePeriodMillis="1800000"
1414
android:widgetFeatures="reconfigurable"
1515
android:description="@string/entity_widget_desc"
16-
android:widgetCategory="home_screen"
16+
android:widgetCategory="keyguard|home_screen"
1717
android:previewImage="@drawable/widget_example_entity"
1818
android:previewLayout="@layout/widget_static_wrapper_dynamiccolor" />

app/src/main/res/xml/media_player_control_widget_info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
android:resizeMode="horizontal|vertical"
1212
android:widgetFeatures="reconfigurable"
1313
android:description="@string/media_player_widget_desc"
14-
android:widgetCategory="home_screen"
14+
android:widgetCategory="keyguard|home_screen"
1515
android:previewImage="@drawable/widget_example_media_player_controls"
1616
android:previewLayout="@layout/widget_media_controls_wrapper_dynamiccolor" />

app/src/main/res/xml/template_widget_info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
android:widgetFeatures="reconfigurable"
1414
android:description="@string/template_widget_desc"
1515
android:updatePeriodMillis="1800000"
16-
android:widgetCategory="home_screen"
16+
android:widgetCategory="keyguard|home_screen"
1717
android:previewImage="@drawable/widget_example_template"
1818
android:previewLayout="@layout/widget_template_wrapper_dynamiccolor" />

app/src/main/res/xml/todo_widget_info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
android:updatePeriodMillis="1800000"
1414
android:widgetFeatures="reconfigurable"
1515
android:description="@string/todo_widget_desc"
16-
android:widgetCategory="home_screen"
16+
android:widgetCategory="keyguard|home_screen"
1717
android:previewImage="@drawable/widget_example_todo"
1818
tools:ignore="UnusedAttribute,UnusedResources" />

0 commit comments

Comments
 (0)