mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Merge branch '583-npe-org-briarproject-android-util-qrcodeutils-createqrcode' into 'master'
Fix two crashes when scanning QR codes One crash was two due the `Context` being `null` and the other due to the camera being opened within an `AsyncTask`. Closes #583 See merge request !282
This commit is contained in:
@@ -53,7 +53,6 @@ public abstract class BriarFragmentActivity extends BriarActivity {
|
||||
as in Gmail/Inbox.
|
||||
*/
|
||||
startFragment(ContactListFragment.newInstance());
|
||||
|
||||
} else {
|
||||
super.onBackPressed();
|
||||
}
|
||||
@@ -80,7 +79,7 @@ public abstract class BriarFragmentActivity extends BriarActivity {
|
||||
dialog.show();
|
||||
}
|
||||
|
||||
private void startFragment(BaseFragment fragment,
|
||||
public void startFragment(BaseFragment fragment,
|
||||
boolean isAddedToBackStack) {
|
||||
startFragment(fragment, 0, 0, isAddedToBackStack);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user