| commit | 4bb76ebfb81cd2f5da89dd9f35b035f687424b15 | [log] |
|---|---|---|
| author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | Fri Dec 05 12:45:14 2014 +0000 |
| committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | Mon Jan 19 09:46:42 2015 +0000 |
| tree | 0581479a372639a5694197b867f2dafd076fe29c | |
| parent | 592984cea1a9cc545358b8d6077113a658834aa5 [diff] |
Android: remove unnecessary openDirectory call from onResume. The call to createUI already performs all the actions done by openDirectory, there is no need to call it again. Change-Id: I7f900a23a4f85b627b7132dd6eb54b6e98e7edb6
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java index 61f8450..0c9668d 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java
@@ -369,7 +369,6 @@ public class LibreOfficeUIActivity extends LOAbout implements ActionBar.OnNaviga @Override protected void onResume() { // TODO Auto-generated method stub super.onResume(); Log.d(tag, "onResume"); readPreferences();// intent values take precedence over prefs? @@ -387,7 +386,6 @@ public class LibreOfficeUIActivity extends LOAbout implements ActionBar.OnNaviga Log.d(tag, EXPLORER_VIEW_TYPE_KEY); } createUI(); openDirectory( currentDirectory ); } @Override