diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-09-11 19:49:53 +0200 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-09-11 21:24:17 +0200 |
commit | d9c2927ef2ea45777772cc52bd62f7ece2dda207 (patch) | |
tree | 3f34785f70c52eeec9056dd5aca81248ba652ab1 /android | |
parent | 4700a95f51a54acef1ae770010a27e74a59cdc70 (diff) |
LibreOffice4Android: Disable thumbnails so the application can run
Commented out the piece of code that invokes the creation of
thumbnails, because it crashes after the call to native code.
Once LibreOffice4Android is merged with the LOKit-based viewer, it
will be the moment to fix the thumbnails properly.
Change-Id: I6dd38c6f91008d41905d3c4a856899e9ec81bd6b
Diffstat (limited to 'android')
-rw-r--r-- | android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java index c36c0b66ea6d..02cdc7daacd3 100644 --- a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java +++ b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java @@ -215,6 +215,7 @@ public class LibreOfficeUIActivity extends SherlockActivity implements ActionBar filePaths = currentDirectory.listFiles( FileUtilities.getFileFilter( filterMode ) ); fileNames = new String[ filePaths.length ]; FileUtilities.sortFiles( filePaths, sortMode ); +/* for( int i = 0; i < fileNames.length; i++){ fileNames[ i ] = filePaths[ i ].getName(); if( !FileUtilities.hasThumbnail( filePaths[ i ] ) ) @@ -222,6 +223,7 @@ public class LibreOfficeUIActivity extends SherlockActivity implements ActionBar new ThumbnailGenerator( filePaths[ i ] ); } } +*/ if( viewMode == GRID_VIEW){ gv.setAdapter( new GridItemAdapter(getApplicationContext(), currentDirectory, filePaths ) ); }else{ |