From c9718b32e3ff62c272c291c0c1931325cbbe4b8b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 1 Jul 2012 15:46:55 +0400 Subject: [PATCH] attempt to workaround against some unknown actionbar navigation related crash, bump version --- AndroidManifest.xml | 4 ++-- src/org/fox/ttrss/MainActivity.java | 3 ++- src/org/fox/ttrss/offline/OfflineActivity.java | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 7d9a0025..5306e0af 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="84" + android:versionName="0.6.8" > diff --git a/src/org/fox/ttrss/MainActivity.java b/src/org/fox/ttrss/MainActivity.java index ae79bebe..bc9883c4 100644 --- a/src/org/fox/ttrss/MainActivity.java +++ b/src/org/fox/ttrss/MainActivity.java @@ -673,7 +673,8 @@ public class MainActivity extends CommonActivity implements OnlineServices { m_headlinesActionModeCallback = new HeadlinesActionModeCallback(); m_navigationListener = new NavigationListener(); - + + getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); getActionBar().setListNavigationCallbacks(m_navigationAdapter, m_navigationListener); } diff --git a/src/org/fox/ttrss/offline/OfflineActivity.java b/src/org/fox/ttrss/offline/OfflineActivity.java index daef78e6..24899907 100644 --- a/src/org/fox/ttrss/offline/OfflineActivity.java +++ b/src/org/fox/ttrss/offline/OfflineActivity.java @@ -304,6 +304,7 @@ public class OfflineActivity extends CommonActivity implements m_headlinesActionModeCallback = new HeadlinesActionModeCallback(); m_navigationListener = new NavigationListener(); + getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); getActionBar().setListNavigationCallbacks(m_navigationAdapter, m_navigationListener); m_headlinesActionModeCallback = new HeadlinesActionModeCallback();