fix mysterious crashes on some feeds

This commit is contained in:
Andrew Dolgov 2015-02-14 22:03:16 +03:00
parent 079328118c
commit 8f4b9187f6
2 changed files with 5 additions and 4 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="312" android:versionCode="313"
android:versionName="1.89" > android:versionName="1.90" >
<uses-sdk <uses-sdk
android:minSdkVersion="15" android:minSdkVersion="15"

View File

@ -461,10 +461,11 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
ActivityCompat.startActivityForResult(this, intent, HEADLINES_REQUEST, options.toBundle()); ActivityCompat.startActivityForResult(this, intent, HEADLINES_REQUEST, options.toBundle());
} else { } else {
ActivityOptionsCompat options = ActivityOptionsCompat.makeSceneTransitionAnimation(this); // mysterious crashes if we use activitycompat here so welp
ActivityCompat.startActivityForResult(this, intent, HEADLINES_REQUEST, options.toBundle()); startActivityForResult(intent, HEADLINES_REQUEST);
} }
} else { } else {
invalidateOptionsMenu(); invalidateOptionsMenu();