Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7457a8e9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Fix dialer force close."

parents c75cfd7e 34a52951
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -454,8 +454,12 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
                }
                break;
            case R.id.voice_search_button:
                try {
                    final Intent voiceIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
                    startActivityForResult(voiceIntent, ACTIVITY_REQUEST_CODE_VOICE_SEARCH);
                } catch (ActivityNotFoundException e) {
                    Log.w(TAG, e.toString());
                }
                break;
            default: {
                Log.wtf(TAG, "Unexpected onClick event from " + view);