Fix for fragment transaction crash in verify identity activity

Fixes #5747

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2016-10-05 16:33:19 -07:00
parent d36d000dc5
commit 954d795bb5

View File

@ -148,12 +148,8 @@ public class VerifyIdentityActivity extends PassphraseRequiredActionBarActivity
public void run() { public void run() {
((Vibrator)getSystemService(Context.VIBRATOR_SERVICE)).vibrate(50); ((Vibrator)getSystemService(Context.VIBRATOR_SERVICE)).vibrate(50);
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); getSupportFragmentManager().popBackStack();
transaction.setCustomAnimations(R.anim.slide_from_bottom, R.anim.slide_to_top);
displayFragment.setScannedFingerprint(data); displayFragment.setScannedFingerprint(data);
transaction.replace(android.R.id.content, displayFragment)
.commit();
} }
}); });
} }