Update android widget dumper

This commit is contained in:
Evgeny
2025-07-16 06:04:53 +08:00
parent 51f0eac6ee
commit 0e81cb673a

View File

@@ -1,14 +1,16 @@
-- name = "Android widgets dumper"
-- foldable = false
-- Place app package name with widget here
app_pkg = "com.weather.Weather"
app_pkg = "com.google.android.googlequicksearchbox"
--app_pkg = "com.weather.Weather"
--app_pkg = "com.google.android.apps.tasks"
--app_pkg = "com.android.chrome"
--app_pkg = "com.whatsapp"
-- Widget size (string from "1x1" to "4x4")
-- In most cases you can use nil
widget_size = nil
widget_size = "4x1"
-- Globals
labels = {}
@@ -32,7 +34,7 @@ function on_resume()
if wid < 0 then
ui:show_lines(labels)
else
widgets:request_updates(wid)
widgets:request_updates(wid, widget_size)
end
end