fix for ringtone selection with android-support-v4-preferencefragment

This commit is contained in:
agrajaghh 2014-11-22 13:31:54 +01:00 committed by Jake McGinty
parent 4573f3cb77
commit 908e8b8746

View File

@ -118,6 +118,14 @@ public class ApplicationPreferencesActivity extends PassphraseRequiredActionBarA
dynamicLanguage.onResume(this);
}
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data)
{
super.onActivityResult(requestCode, resultCode, data);
Fragment fragment = getSupportFragmentManager().findFragmentById(android.R.id.content);
fragment.onActivityResult(requestCode, resultCode, data);
}
@Override
public void onDestroy() {
MemoryCleaner.clean((MasterSecret) getIntent().getParcelableExtra("master_secret"));