[Android] Remove old widgets

Nicolas Pomepuy git at videolan.org
Wed May 18 09:57:55 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Mar 31 14:14:42 2022 +0200| [1a88cd3ed5160cb355d88876dd710c76ea41ee49] | committer: Duncan McNamara

Remove old widgets

> https://code.videolan.org/videolan/vlc-android/commit/1a88cd3ed5160cb355d88876dd710c76ea41ee49
---

 .../resources/assets/images/svg/ic_widget_icon.svg |  70 ++++++++++
 .../src/main/res/drawable-hdpi/ic_widget_icon.png  | Bin 0 -> 1416 bytes
 .../src/main/res/drawable-mdpi/ic_widget_icon.png  | Bin 0 -> 809 bytes
 .../src/main/res/drawable-xhdpi/ic_widget_icon.png | Bin 0 -> 1721 bytes
 .../main/res/drawable-xxhdpi/ic_widget_icon.png    | Bin 0 -> 3107 bytes
 .../main/res/drawable-xxxhdpi/ic_widget_icon.png   | Bin 0 -> 3888 bytes
 .../resources/src/main/res/values/strings.xml      |   5 +
 .../vlc-android/res/layout-land/widget_b.xml       | 143 ---------------------
 .../vlc-android/res/layout-land/widget_w.xml       | 143 ---------------------
 .../res/layout/dialog_widget_migration.xml         | 100 ++++++++++++++
 application/vlc-android/res/layout/widget_b.xml    | 139 --------------------
 application/vlc-android/res/layout/widget_old.xml  |  74 +++++++++++
 application/vlc-android/res/layout/widget_w.xml    | 139 --------------------
 .../vlc-android/res/xml/widget_provider_b.xml      |   2 +-
 .../vlc-android/res/xml/widget_provider_w.xml      |   2 +-
 .../src/org/videolan/vlc/gui/MainActivity.kt       |   2 +
 .../vlc/gui/dialogs/WidgetMigrationDialog.kt       |  55 ++++++++
 .../src/org/videolan/vlc/util/WidgetMigration.kt   |  61 +++++++++
 .../videolan/vlc/widget/VLCAppWidgetProvider.kt    |  88 +------------
 .../vlc/widget/VLCAppWidgetProviderBlack.kt        |   2 +-
 .../vlc/widget/VLCAppWidgetProviderWhite.kt        |   2 +-
 21 files changed, 375 insertions(+), 652 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/1a88cd3ed5160cb355d88876dd710c76ea41ee49


More information about the Android mailing list