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
1060cd84
Kaydet (Commit)
1060cd84
authored
Agu 13, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Perform setup(Activity) just once
Change-Id: Icf77936c4307f816e85cb840d650a4c958a15995
üst
2a787251
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Bootstrap.java
android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
+8
-1
No files found.
android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
Dosyayı görüntüle @
1060cd84
...
@@ -124,10 +124,17 @@ public class Bootstrap extends NativeActivity
...
@@ -124,10 +124,17 @@ public class Bootstrap extends NativeActivity
public
static
native
void
delete_byte_buffer_wrapper
(
long
bbw
);
public
static
native
void
delete_byte_buffer_wrapper
(
long
bbw
);
static
boolean
setup_done
=
false
;
// This setup() method is called 1) in apps that use *this* class as their activity from onCreate(),
// This setup() method is called 1) in apps that use *this* class as their activity from onCreate(),
// and 2) should be called from other kinds of LO code using apps.
// and 2) should be called from other kinds of LO code using apps.
public
static
void
setup
(
Activity
activity
)
public
static
synchronized
void
setup
(
Activity
activity
)
{
{
if
(
setup_done
)
return
;
setup_done
=
true
;
String
dataDir
=
null
;
String
dataDir
=
null
;
ApplicationInfo
ai
=
activity
.
getApplicationInfo
();
ApplicationInfo
ai
=
activity
.
getApplicationInfo
();
...
...
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