[Android] Send widget updates only if a widget is active

Geoffrey Métais git at videolan.org
Wed Aug 9 15:12:33 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Aug  9 13:28:18 2017 +0200| [3c0f10d4f7bba8602484293f2d34fe6b187170fc] | committer: Geoffrey Métais

Send widget updates only if a widget is active

And restrict updates during playback

> https://code.videolan.org/videolan/vlc-android/commit/3c0f10d4f7bba8602484293f2d34fe6b187170fc
---

 .../src/org/videolan/vlc/PlaybackService.java      | 31 +++++++++++++++-------
 .../videolan/vlc/widget/VLCAppWidgetProvider.java  | 29 +++++++++++++-------
 2 files changed, 41 insertions(+), 19 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/3c0f10d4f7bba8602484293f2d34fe6b187170fc


More information about the Android mailing list