mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
Running underneath the dialer doesn't work. Quit the app if leaving to dial a number.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2282 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
437c5f177f
commit
4a907a6201
|
@ -54,6 +54,10 @@ public final class TelResultHandler extends ResultHandler {
|
|||
switch (index) {
|
||||
case 0:
|
||||
dialPhoneFromUri(telResult.getTelURI());
|
||||
// When dialer comes up, it allows underlying display activity to continue or something,
|
||||
// but app can't get camera in this state. Avoid issues by just quitting, only in the
|
||||
// case of a phone number
|
||||
getActivity().finish();
|
||||
break;
|
||||
case 1:
|
||||
String[] numbers = new String[1];
|
||||
|
|
Loading…
Reference in a new issue