mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 02:08:20 +00:00
This can happen when display size changes. We compare span sizes of widget in the db to the min sizes of the widget in the current display size. If the widget can no longer fit in its existing spans, we remove it. Also update test widgets to have minWidth/minHeight of 1dp. This ensures that the spanX, spanY, min* values remain consistent between different test devices. Bug: 168818961 Change-Id: I723372e4582658f78b2f23ced9073cb77977a6b8
11 lines
436 B
XML
11 lines
436 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<appwidget-provider
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:minWidth="1dp"
|
|
android:minHeight="1dp"
|
|
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> |