Kaydet (Commit) 07af8451 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

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
üst e36d227e
......@@ -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(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment