From 07af8451feabd828d09c0f444368fa50c5651527 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Thu, 22 Nov 2012 16:40:01 +0100 Subject: 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 --- .../src/org/libreoffice/impressremote/communication/Receiver.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'android') 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(), -- cgit