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
3c8ad51e
Kaydet (Commit)
3c8ad51e
authored
Nis 23, 2015
tarafından
Siqi Liu
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use LOGTAG instead
Change-Id: Ie89afb3526ff670581094107c59a4a20597d9225
üst
bc7300a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
FileUtilities.java
...LOAndroid3/src/java/org/libreoffice/ui/FileUtilities.java
+5
-2
No files found.
android/experimental/LOAndroid3/src/java/org/libreoffice/ui/FileUtilities.java
Dosyayı görüntüle @
3c8ad51e
...
@@ -21,6 +21,9 @@ import android.util.Log;
...
@@ -21,6 +21,9 @@ import android.util.Log;
import
android.webkit.MimeTypeMap
;
import
android.webkit.MimeTypeMap
;
public
class
FileUtilities
{
public
class
FileUtilities
{
private
String
LOGTAG
=
FileUtilities
.
class
.
getSimpleName
();
static
final
int
ALL
=
-
1
;
static
final
int
ALL
=
-
1
;
// These have to be in sync with the file_view_modes resource.
// These have to be in sync with the file_view_modes resource.
...
@@ -135,7 +138,7 @@ public class FileUtilities {
...
@@ -135,7 +138,7 @@ public class FileUtilities {
static
int
getType
(
String
filename
)
{
static
int
getType
(
String
filename
)
{
int
type
=
lookupExtension
(
filename
);
int
type
=
lookupExtension
(
filename
);
Log
.
d
(
"debug"
,
"extn : "
+
filename
+
" -> "
+
type
);
Log
.
d
(
LOGTAG
,
"extn : "
+
filename
+
" -> "
+
type
);
return
type
;
return
type
;
}
}
...
@@ -152,7 +155,7 @@ public class FileUtilities {
...
@@ -152,7 +155,7 @@ public class FileUtilities {
// Filter by mode, and/or in future by filename/wildcard
// Filter by mode, and/or in future by filename/wildcard
static
private
boolean
doAccept
(
String
filename
,
int
byMode
,
String
byFilename
)
{
static
private
boolean
doAccept
(
String
filename
,
int
byMode
,
String
byFilename
)
{
Log
.
d
(
"debug"
,
"doAccept : "
+
filename
+
" mode "
+
byMode
+
" byFilename "
+
byFilename
);
Log
.
d
(
LOGTAG
,
"doAccept : "
+
filename
+
" mode "
+
byMode
+
" byFilename "
+
byFilename
);
if
(
filename
==
null
)
if
(
filename
==
null
)
return
false
;
return
false
;
...
...
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