mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 11:26:47 +01:00
Xiaomi: Fix widget set on some devices
This commit is contained in:
parent
128aed005b
commit
2d89fdf11b
@ -290,6 +290,8 @@ public class XiaomiWidgetManager implements WidgetManager {
|
||||
}
|
||||
}
|
||||
|
||||
builder.setIsFullList(1);
|
||||
|
||||
getPrefs().getPreferences().edit()
|
||||
.putString(XiaomiPreferences.PREF_WIDGET_SCREENS, GB.hexdump(builder.build().toByteArray()))
|
||||
.apply();
|
||||
|
@ -4,6 +4,7 @@ package xiaomi;
|
||||
|
||||
// FIXME: The generated class is very large, so Android Studio stops recognizing it
|
||||
// set idea.max.intellisense.filesize=5000 in idea.properties
|
||||
// by clicking Help -> Edit Custom Properties
|
||||
|
||||
option java_package = "nodomain.freeyourgadget.gadgetbridge.proto.xiaomi";
|
||||
option java_outer_classname = "XiaomiProto";
|
||||
|
Loading…
Reference in New Issue
Block a user