Fix support for 1.6 (4), fixes #414
This commit is contained in:
parent
b31d8cb55b
commit
219443b5a7
@ -272,10 +272,10 @@ public class FDroid extends FragmentActivity {
|
||||
if ((resultCode & PreferencesActivity.RESULT_RESTART) != 0) {
|
||||
((FDroidApp) getApplication()).reloadTheme();
|
||||
final Intent intent = getIntent();
|
||||
overridePendingTransition(0, 0);
|
||||
if (Build.VERSION.SDK_INT >= 5) overridePendingTransition(0, 0);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
|
||||
finish();
|
||||
overridePendingTransition(0, 0);
|
||||
if (Build.VERSION.SDK_INT >= 5) overridePendingTransition(0, 0);
|
||||
startActivity(intent);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user