Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9f171617
Kaydet (Commit)
9f171617
authored
Agu 29, 2012
tarafından
Andrzej J.R. Hunt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Return to StartPresentationActivity when slideshow finishes.
Change-Id: Id91226046ecb89c2cd14d03eb4a99d0ad4b7b027
üst
7a1bac5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
Receiver.java
...org/libreoffice/impressremote/communication/Receiver.java
+16
-3
Communicator.cxx
sd/source/ui/remotecontrol/Communicator.cxx
+2
-0
No files found.
android/sdremote/src/org/libreoffice/impressremote/communication/Receiver.java
Dosyayı görüntüle @
9f171617
...
@@ -10,6 +10,9 @@ package org.libreoffice.impressremote.communication;
...
@@ -10,6 +10,9 @@ package org.libreoffice.impressremote.communication;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
org.libreoffice.impressremote.PresentationActivity
;
import
org.libreoffice.impressremote.StartPresentationActivity
;
import
android.content.Context
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.content.Intent
;
import
android.support.v4.content.LocalBroadcastManager
;
import
android.support.v4.content.LocalBroadcastManager
;
...
@@ -43,9 +46,19 @@ public class Receiver {
...
@@ -43,9 +46,19 @@ public class Receiver {
int
aCurrentSlide
=
Integer
.
parseInt
(
aCommand
.
get
(
2
));
int
aCurrentSlide
=
Integer
.
parseInt
(
aCommand
.
get
(
2
));
mSlideShow
.
setLength
(
aSlideShowlength
);
mSlideShow
.
setLength
(
aSlideShowlength
);
mSlideShow
.
setCurrentSlide
(
aCurrentSlide
);
mSlideShow
.
setCurrentSlide
(
aCurrentSlide
);
Intent
aIntent
=
new
Intent
(
// Intent aIntent = new Intent(
CommunicationService
.
MSG_SLIDESHOW_STARTED
);
// CommunicationService.MSG_SLIDESHOW_STARTED);
LocalBroadcastManager
.
getInstance
(
mContext
).
sendBroadcast
(
aIntent
);
// LocalBroadcastManager.getInstance(mContext).sendBroadcast(aIntent);
Intent
aIntent
=
new
Intent
(
mContext
.
getApplicationContext
(),
PresentationActivity
.
class
);
aIntent
.
setFlags
(
Intent
.
FLAG_ACTIVITY_NEW_TASK
);
mContext
.
getApplicationContext
().
startActivity
(
aIntent
);
}
else
if
(
aInstruction
.
equals
(
"slideshow_finished"
))
{
mSlideShow
=
new
SlideShow
(
mContext
);
Intent
aIntent
=
new
Intent
(
mContext
.
getApplicationContext
(),
StartPresentationActivity
.
class
);
aIntent
.
setFlags
(
Intent
.
FLAG_ACTIVITY_NEW_TASK
);
mContext
.
getApplicationContext
().
startActivity
(
aIntent
);
}
else
{
}
else
{
if
(
mSlideShow
==
null
)
if
(
mSlideShow
==
null
)
return
;
return
;
...
...
sd/source/ui/remotecontrol/Communicator.cxx
Dosyayı görüntüle @
9f171617
...
@@ -95,6 +95,8 @@ void Communicator::execute()
...
@@ -95,6 +95,8 @@ void Communicator::execute()
void
Communicator
::
informListenerDestroyed
()
void
Communicator
::
informListenerDestroyed
()
{
{
pTransmitter
->
addMessage
(
"slideshow_finished
\n\n
"
,
Transmitter
::
PRIORITY_HIGH
);
mListener
.
clear
();
mListener
.
clear
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment