summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-11-22 16:40:01 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-11-22 16:48:57 +0100
commit07af8451feabd828d09c0f444368fa50c5651527 (patch)
tree9d01193775339187492258a941e12ea93a75d816 /android
parente36d227ee584aa07fa48dda7710ac6b7a850fcc3 (diff)
Broadcast even initial slidenumber to coverflow.
A new slideshow should start at the correct slide, thus it needs to be communicated to the thumbnail fragments. Change-Id: Ib8107b4391f0df9a8d7b23f03d4da36ab42fddcc
Diffstat (limited to 'android')
-rw-r--r--android/sdremote/src/org/libreoffice/impressremote/communication/Receiver.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/sdremote/src/org/libreoffice/impressremote/communication/Receiver.java b/android/sdremote/src/org/libreoffice/impressremote/communication/Receiver.java
index c4a097ef6f70..df6aded140b6 100644
--- a/android/sdremote/src/org/libreoffice/impressremote/communication/Receiver.java
+++ b/android/sdremote/src/org/libreoffice/impressremote/communication/Receiver.java
@@ -51,6 +51,10 @@ public class Receiver {
Intent aIntent = new Intent(
CommunicationService.STATUS_CONNECTED_SLIDESHOW_RUNNING);
LocalBroadcastManager.getInstance(mContext).sendBroadcast(aIntent);
+ aIntent = new Intent(
+ CommunicationService.MSG_SLIDE_CHANGED);
+ aIntent.putExtra("slide_number", aCurrentSlide);
+ LocalBroadcastManager.getInstance(mContext).sendBroadcast(aIntent);
} else if (aInstruction.equals("slideshow_finished")) {
mSlideShow = new SlideShow(mContext);
// Intent aIntent = new Intent(mContext.getApplicationContext(),