disable headlines transition altogether re: instability
This commit is contained in:
parent
8f4b9187f6
commit
4aeac28cb4
@ -1,7 +1,7 @@
|
|||||||
<?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="313"
|
android:versionCode="314"
|
||||||
android:versionName="1.90" >
|
android:versionName="1.90" >
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
|
@ -10,8 +10,6 @@ import android.content.SharedPreferences;
|
|||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.Parcelable;
|
import android.os.Parcelable;
|
||||||
import android.preference.PreferenceManager;
|
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.Fragment;
|
||||||
import android.support.v4.app.FragmentTransaction;
|
import android.support.v4.app.FragmentTransaction;
|
||||||
import android.support.v4.widget.DrawerLayout;
|
import android.support.v4.widget.DrawerLayout;
|
||||||
@ -454,16 +452,8 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
|||||||
startActivityForResult(intent, HEADLINES_REQUEST);
|
startActivityForResult(intent, HEADLINES_REQUEST);
|
||||||
} */
|
} */
|
||||||
|
|
||||||
if (!isPortrait() && !isSmallScreen()) {
|
// mysterious crashes somewhere in gl layer (?) on some feeds if we use activitycompat transitions here on LP so welp
|
||||||
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
|
|
||||||
startActivityForResult(intent, HEADLINES_REQUEST);
|
startActivityForResult(intent, HEADLINES_REQUEST);
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user