Commit df54c1ed authored by Mindy Pereira's avatar Mindy Pereira
Browse files

Clear the calculator display when clearing the history.

Fixes b/5186736 Calculated history is not cleared if user click on clear history in menu option.

Change-Id: Ib1f1ae4fcb87db9561fafda937d860031ba5bea4
parent b620c2e7
......@@ -211,6 +211,7 @@ public class Calculator extends Activity implements PanelSwitcher.Listener, Logi
switch (item.getItemId()) {
case R.id.clear_history:
mHistory.clear();
mLogic.onClear();
break;
case R.id.basic:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment