diff --git a/src/net/zaczek/launcherforblind/DialerActivity.java b/src/net/zaczek/launcherforblind/DialerActivity.java index 249eb9f..12d7cc2 100644 --- a/src/net/zaczek/launcherforblind/DialerActivity.java +++ b/src/net/zaczek/launcherforblind/DialerActivity.java @@ -52,7 +52,7 @@ public void onCreate(Bundle savedInstanceState) { txtCurrentDigit = (TextView) findViewById(R.id.txtCurrentDigit); txtCurrentDigit.setText(R.string.digit_help); } - + @Override protected boolean announceHelp() { if (Settings.announceDialerHelp()) { @@ -63,6 +63,12 @@ protected boolean announceHelp() { return false; } + @Override + protected void onExecute() { + super.onExecute(); + callCurrentNumber(); + } + @Override public boolean onTouchEvent(MotionEvent event) { int action = event.getAction(); @@ -168,7 +174,7 @@ private void callCurrentNumber() { // length. say(getString(R.string.invalid_number)); } else { - StringBuilder sb = new StringBuilder(); + StringBuilder sb = new StringBuilder(); for (int i = 0; i < dialedNumber.length(); i++) { sb.append(dialedNumber.charAt(i) + " "); } @@ -177,7 +183,7 @@ private void callCurrentNumber() { } } else { // actually dial - Helper.dial(this, dialedNumber); + Helper.dial(this, dialedNumber); } } }