attempt to workaround against some unknown actionbar navigation related

crash, bump version
This commit is contained in:
Andrew Dolgov 2012-07-01 15:46:55 +04:00
parent b80b684d12
commit c9718b32e3
3 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fox.ttrss" package="org.fox.ttrss"
android:versionCode="83" android:versionCode="84"
android:versionName="0.6.7" > android:versionName="0.6.8" >
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="11" /> <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="11" />

View File

@ -674,6 +674,7 @@ public class MainActivity extends CommonActivity implements OnlineServices {
m_headlinesActionModeCallback = new HeadlinesActionModeCallback(); m_headlinesActionModeCallback = new HeadlinesActionModeCallback();
m_navigationListener = new NavigationListener(); m_navigationListener = new NavigationListener();
getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
getActionBar().setListNavigationCallbacks(m_navigationAdapter, m_navigationListener); getActionBar().setListNavigationCallbacks(m_navigationAdapter, m_navigationListener);
} }

View File

@ -304,6 +304,7 @@ public class OfflineActivity extends CommonActivity implements
m_headlinesActionModeCallback = new HeadlinesActionModeCallback(); m_headlinesActionModeCallback = new HeadlinesActionModeCallback();
m_navigationListener = new NavigationListener(); m_navigationListener = new NavigationListener();
getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
getActionBar().setListNavigationCallbacks(m_navigationAdapter, m_navigationListener); getActionBar().setListNavigationCallbacks(m_navigationAdapter, m_navigationListener);
m_headlinesActionModeCallback = new HeadlinesActionModeCallback(); m_headlinesActionModeCallback = new HeadlinesActionModeCallback();