disable headlines transition altogether re: instability

This commit is contained in:
Andrew Dolgov 2015-02-14 22:17:36 +03:00
parent 8f4b9187f6
commit 4aeac28cb4
2 changed files with 3 additions and 13 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fox.ttrss"
android:versionCode="313"
android:versionCode="314"
android:versionName="1.90" >
<uses-sdk

View File

@ -10,8 +10,6 @@ import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Parcelable;
import android.preference.PreferenceManager;
import android.support.v4.app.ActivityCompat;
import android.support.v4.app.ActivityOptionsCompat;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.widget.DrawerLayout;
@ -454,16 +452,8 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
startActivityForResult(intent, HEADLINES_REQUEST);
} */
if (!isPortrait() && !isSmallScreen()) {
View sharedList = hf.getView().findViewById(R.id.headlines_list);
ActivityOptionsCompat options = ActivityOptionsCompat.makeSceneTransitionAnimation(this, sharedList, "TRANSITION:HEADLINES_LIST");
ActivityCompat.startActivityForResult(this, intent, HEADLINES_REQUEST, options.toBundle());
} else {
// mysterious crashes if we use activitycompat here so welp
// mysterious crashes somewhere in gl layer (?) on some feeds if we use activitycompat transitions here on LP so welp
startActivityForResult(intent, HEADLINES_REQUEST);
}
} else {